I'm porting our existing code from the LPC11U68 to the LPC54114.
Here's what I have so so far:
It's not working yet, and I don't know why.
Two things I noticed after my coworker took back the board is that I wasn't setting the USB IRQ priority and that USB_IRQHandler() changed to USB0_IRQHandler().
I'll try it again when I'm set back up.
Update: Still not working, but I've also disabled the power-down with POWER_DisablePD().
I'm working through the lpcxpresso54114_rom_dev_cdc_bm example and it's way easier to understand than the weight scale example I started with.
已解决! 转到解答。
Hi,
If you want to usb port for LPC54114, you have to enable the usb clock.
1)pls use the code to enable usb clock
SYSCON->AHBCLKCTRL1|=1<<25;
2)you have to set up the USB clock to be 48Mhz before you call the usb code in ROM
Pls have a check.
BR
XiangJun Rong
Hi,
If you want to usb port for LPC54114, you have to enable the usb clock.
1)pls use the code to enable usb clock
SYSCON->AHBCLKCTRL1|=1<<25;
2)you have to set up the USB clock to be 48Mhz before you call the usb code in ROM
Pls have a check.
BR
XiangJun Rong