How can I make use of unused DMA and Hardware Timers to implement multiple (24K) 400ns GPIO transfers. I know how to do this at the hardware level but can I configure and modify these CPU registers for the application level. I know I could get a copy of FreeRTOS and set up these registers myself but then I am off the Cloud Distribution for new features and fixes.
Sure, go ahead! If you need something custom you will definitely have to twiddle the microcontroller registers.
All the information you’ll need is in the 1361 page Microcontroller Reference Manual (for the Photon):
http://www.st.com/web/en/resource/technical/document/reference_manual/CD00225773.pdf
You can check how some features set up the registers in the firmware for reference:
If you make something cool, please open source your library on GitHub so others can use it too.
1 Like