Content originally posted in LPCWare by skytron1 on Sat Jan 16 14:16:50 MST 2010
This is my first exposure to the ARM Cortex software environment. I'm a bit overwhelmed with the complexity required to do seemingly simple tasks.
In my previous experience with AVR, PIC, and PIC32 if I wanted to set or reseet a bit in i/o port or register I could simply write PORTA |= 0x10 which would set the 5th bit in the PORTA. I could also send 8 bits at once by PORTA = dataout.
My question is, how do I do these actions simply or at all with the LPCxpresso compliler? If I have to use the CMSIS convention, where is a list of the CMSIS register functions equated to the LPC registers that are displayed in the debugging screens?
Are there any books or tutorials that would explain things better?
Some better examples than the ones with the LPCxpresso would be helpful to me , as would a more detailed explanation of how to set up a project and all the files needed and the locations.
Any ideas, examples, or comments welcomed.
Dave