Content originally posted in LPCWare by NXP_USA on Thu Apr 29 09:50:45 MST 2010
Quote: gbm
Thanks a lot. Now everything is clear.
... And I thought that after 20+ years of hardware and firmware design I already knew how to read manuals... I simply overlooked section 3.9, searching for the information in 3.3 and register description to no avail. I'm not fluent at PLLs, but honestly I suspected that the role of this divisor is something like it is in reality.
Meanwhile I tuned the startup code, getting to < 700 bytes of memory usage for PWM variable blinker.
You might want to look at an example called usbhid_rom_tiny in the C:\nxp\lpcxpresso_3.3\Examples\LPC1000\LPC13xx\1343examples.zip example package. It ends up using about 400 bytes of flash memory to implement a USB device that controls the LED. Check the readme.txt in the project for details.