Hi All,
NXP provides a software drivers library for Kinetis M devices, the KM bare-metal drivers. It includes support for peripherals and FreeRTOS.
Follow the instructions to download and install the software package.
- Go to the KM3x section in the NXP webpage.
- Click on the documentation tab
![pastedImage_13.png pastedImage_13.png](/t5/image/serverpage/image-id/35097i9FA6E4BFF71F10E3/image-size/large?v=v2&px=999)
- In the Application Notes section look for the API reference manual for Kinetis M bare-metal drivers and software examples, download:
- HTML > Reference Manual and documentation
- ZIP > Software package
![pastedImage_18.png pastedImage_18.png](/t5/image/serverpage/image-id/35152i05574F3D7D12A151/image-size/large?v=v2&px=999)
- Unzip the KMSWDRVAPIRM_SW.zip file into a computer location.
- Inside the folder you will find several .exe files, select the appropriate file for your application and follow the installation instructions.
![01.jpg 01.jpg](/t5/image/serverpage/image-id/34513iF1A2B3083CFEFEF0/image-size/large?v=v2&px=999)
- By default a folder named KMxxxSWDRV_Rx_x_x is created. You can see the folder structure like this
![02.jpg 02.jpg](/t5/image/serverpage/image-id/34767i9EDA7139D9D07B92/image-size/large?v=v2&px=999)
- build: Build examples project files for the selected IDE.
- refman: Source files of the HTML Reference Manual
- src: Source files for drivers:
- common – common files for projects: device headers, startup routines, etc.
- drivers – peripheral drivers source code.
- freemaster – Freemaster source files for communication functions with Freemaster software.
- freertos – FreeRTOS files, kernel and RTOS support.
- projects – example projects demonstrating peripherals and modes.
- toolchain – toolchain support.
- template – Base projects for supported IDEs and make_project.exe file to create new project for different supported IDEs.
If you need support for a different IDE or KM device you just need to extract the appropriate .exe file from the SW package.
Hope information helps!
Happy Downloading and installing!
Regards,
Adrian Cano
NXP FAE