Time is passing fast, and many components have been updated to make the compatible with the NXP Kinetis SDK V2.0. As a highlight, besides of FreeRTOS the following components are now usable with the NXP Kinetis SDK:
The Quadrature component has now the ability to swap the quadrature pins at runtime (turned off by default). This is useful if using the same software for different robots without changing the driver code:
The Kinetis Tools component supports Kinetis UID (Unique ID’s) of Kinetis Devices up to 128bits:
Segger SystemView and Segger RTT
The Segger SystemView has been upgraded to V2.34 and is not compatible with the Kinetis SDK. I will show this in a hands-on session at NXP FTF (hands-on session FTF-DES-N1956 and FTF-DES-N2084) on a FRDM-K22F board:
The Percepio FreeRTOS+Trace works now with the Kinetis SDK as well and I will use it as part of my hands-on trainings at NXP FTF 2016 in Austin. To make it work with the SDK, the component is now placed outside of the FreeRTOS component:
With this I can now trace Kinetis SDK applications with FreeRTOS using the Percepio trace with the simple set of a macro in FreeRTOSConfig.h. Such a SDK V2.0 application is available on GitHub.
For everyone going to NXP FTF Austin this year: This will be used in two hands on sessions: FTF-DES-N1956 and FTF-DES-N2084.
Kinetis SDK V2.0 Support
Many components support now the Kinetis SDK. I plan to write an article about this soon. Below is how this works: Bot the LED1 and GBITIO1 are using the Kinetis SDK V2.0 API:
In the KSDK1 component specify the version of the SDK to be used (I working mostly with the V2.0):
In the pin components I can specify the port and pin number:
With this, I can use the component pretty much the same as in a ‘native’ Processor Expert component project: I generate the code in a ‘normal’ Processor Expert project and then I can use the generated sources in a ‘native’ Kinetis SDK V2.0 project :-).
The FreeRTOS component has been extended to work nicely with the Kinetis SDK. I had to tweak it for using it with other Processor Expert component critical section handling. As a plus, I have added now the flexibility to overwrite the memory allocation hooks and critical section handling:
The new release is available on SourceForge here: https://sourceforge.net/projects/mcuoneclipse/files/PEx%20Components/.
Beside of the bug fixes and enhancements, I think the new Kinetis SDK compatibility will be very useful.
Happy Releasing 🙂