-
Notifications
You must be signed in to change notification settings - Fork 98
Description
I've been playing around with the PIC18F45K50 for a few days now trying to get it working. Using the official MLA source, I was able to get the config pragmas and USB init sequence working. I tested it by loading the HID Mouse and CDC projects, duplicating the PIC18_Starter_Kit_PIC18F46J50 project config and switching the device to 18F45K50. This was enough to get the computer to start enumerating it, but unfortunately, it fails as an "Unrecognized device". Unfortunately, I'm rather limited in my ability to debug exactly where it's failing, but looking at the datasheets, it should be very compatible with the 46J50. I did at least confirm that my hardware is functional by building the HID Mouse demo from the official MLA examples, and that runs perfectly on my board. It would be really nice to get this chip working, as it is a 5V device with a ton of I/O pins which can run directly off of VBUS and its internal oscillator, needing only a couple of decoupling capacitors, making it a really good device for simple USB-to-I/O bridge applications like the 16F145x chips, but with way more pins.
Here are the config and initialization to get it running on the internal oscillator: qwertymodo@45e8bee