I've been wanting to expand my embedded skillset with ARM MCUs after spending a few months working with pic24 devices but I've hit a roadblock. I wanted to start programming ARM more "on the metal" without the abstraction layers that things like mbed provide, similar to how I would expect to program a pic and I intended to do this with MCUXpresso. The development board I am using is the FRDM KL25Z which has an mkl25z4 on it. I was expecting to be able to find a datasheet for the chip, read that and understand how to start controlling ports, peripherals etc. but I just can't seem to find that information anywhere. I have MCUXpresso correctly configured and have installed the SDK from NXPs website and have even got a flashing LED demo up and running but only have a vague idea on how any of the code works. What information should I be looking for to help me understand better what is going on? Do datasheets of ARM based chips exist just like PIC, should I be able to read and understand the datasheet in order to control peripherals just like pic etc? Any help would be great

  • \$\begingroup\$ Sure there is a datasheet for every Controller on the market. How should it be possible to programm the controller without information. In your case you should be able to find the programming manual on the NXP website. \$\endgroup\$ – A.R.C. Dec 5 '18 at 10:35
  • \$\begingroup\$ The problem is that the "datasheet" that the website directs to contains purely electrical information and has no information regarding SFRs, ports etc. : nxp.com/docs/en/data-sheet/KL25P80M48SF0.pdf In addition, usually there is example code provided within the datasheet on how to enable peripherals etc. \$\endgroup\$ – Christopher Dyer Dec 5 '18 at 12:58
  • \$\begingroup\$ At ST, you have to dig deep for detailed info. The spec covers the hardware, but there's user manuals, programming references, and dozens of app notes delving into various peripherals, subsystems, and APIs. \$\endgroup\$ – Cristobol Polychronopolis Dec 5 '18 at 13:09
  • 2
    \$\begingroup\$ If you found the datasheet then you must have been to the NXP product page for that micro. But what you're looking for is the Reference Manual, not the datasheet. I made the same mistake when switching from PIC to ARM a few years ago :P \$\endgroup\$ – brhans Dec 5 '18 at 13:17
  • \$\begingroup\$ @brhans that is exactly what I am looking for!! There is about 100 different documents on the product page and I managed to miss it. Please change your comment to an answer and I'll mark it. Again, thank you \$\endgroup\$ – Christopher Dyer Dec 5 '18 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.