bare metal driver examples

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bare metal driver examples

1,501 Views
mjg8t
Contributor IV

Are there any maintained bare metal driver examples for kinetis devices that do not use SDK, PE?

I have found the SDK and PE to be very buggy and extremely difficult to debug when things are not working.  I would like to stick to using bare metal examples at all possible.  Are any example sets still being maintained without all of the fluff?

0 Kudos
2 Replies

917 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi, M J,

Could you let us know the part number of Kinetis product your are using?

We have some bare-metal example project with related module driver.

While, we recommend customer to use KSDK software for new launch Kinetis product, more detailed info about KSDK, please check here.

Wish it helps.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

917 Views
mjbcswitzerland
Specialist V

Hi M.J.

I don't now exactly what constitutes bare-metal drivers but if you are interested in industrially-proven solutions for most Kinetis (K, KL, KV, KW, KE, KEA) peripherals you can take a look at the link below.

The driver code is "maintained" for all of the various Kinetis devices so that it can be used in interrupt driven/DMA based environments (bare-metal?) using any of the well known development environments (no porting between devices or development tools needed).

Operation is also simulated (using VisualStudio and the project's own Kinetis peripheral simulator) so that the internal behavior can be easily tested and analysed, as well as complete projects tested/developed/debugged in (approx.) real-time.

With over 3'000 registered users and many developments and products in service for several years (the Kinetis package has been continuously refined since 2011) it should represent one of the most refined solutions available.

I have attached its UART driver as an example - it works for any Kinetis part and supports standard or low power UARTs - including devices with mixtures, in interrupt driven or DMA modes, as well as HW flow control or RS485 configurations.

Above the peripheral drivers it also includes fully integrated stacks (TCP/IP, USB, file system, etc.) for complete project solutions (not a collection of open source parts but everything purposely developed and maintained for the single environment).

It doesn't use code generation but can operate an any Kinetis part/board by setting maximum 3 project defines!

Regards

Mark

Kinetis: http://www.utasker.com/kinetis.html

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos