For a while, I had been working on my first “Real” embedded system code on an ARM Cortex m4 microprocessor, the MK60N512 , which comes with the NXP towerkit, TWRK60N512 , and obviously, my first task was to make at least one LED blink on the board. Seeing as I was used to the easy way out, (read Ardu… 🙂 ), I didn’t think it would be such a huge task. But as it turns out, there is a whole LOT of things that needed to be done before actually making the first program. Luckily I had an instructor and the oh so glorious Youtube.
Ok enough with the quests and conquests story. If you would like to work on the Cortex m4 processors on a ready board/ tower you need a couple of things. These include
- The microprocessor data sheet
- The board’s schematics
- The board’s user guide
- The peripheral modules quick reference guide.
The data sheet shows all available registers, the memory map of the general K60 micro-controller. Schematics show the routing of the micro-controller pins in the printed circuit board, this is especially useful because it will help you know which pin is connected to what external circuitry. The user guide just gives the general overview of the kit, the features what can be used and for what purpose. The quick reference guide gives a summary of some configurations possible on the board and some examples as code snippets, just to show how one may program the board.
Continue reading “TWRK60N512 BliNk bLiNk BLINK already!!”