-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peripheral API #1
Comments
Hi @hackrid , At the moment, only the UART CMSIS driver has been implemented for most devices (eg: https://github.com/labapart/polymcu/blob/master/Device/NXP/Driver/uart_debug/Driver_USART.c). I am doing some work with SPI for a polymcu based project. I have implemented the SPI CMSIS driver for NXP using NXP SDK (ARM tends to write again the CMSIS drivers from scratch). As usual, any contribution are welcome :-) |
Hi @oliviermartin, thanks for your reply. On page 31 in this document ARM states, that they will provide the CMSIS-Drivers for
For the NXP parts, except K64F, you can find the CMSIS-Driver implementation here: It's very nice to see ARM moving their development towards github. best regards |
It is actually what I am trying to solve with PolyMCU:
The idea is to combine the best of each project into a single location. ARM implementation of CMSIS-Drivers is bypassing the Vendor SDK. So there is a duplication of work between Vendor SDK and ARM CMSIS Driver implementation. If your own MCU project is taking advantage of ARM implementation of CMSIS-Driver and a Vendor SDK then there is a real risk of driver duplication (that implies bigger firmware binary) and conflicts (that implies some debugging time). |
Hi,
what kind of peripheral API do you propose for your eco system?
what do you think about CMSIS-Driver? is this suitable ?
it provides the interface for some of the most popular peripherals:
https://github.com/ARM-software/CMSIS/tree/master/CMSIS/Driver/DriverTemplates
I have only found few implementations of this CMSIS-Drivers.
NXP:
https://github.com/ARM-software/NXP_LPC/tree/master/LPC4300/CMSIS/Driver
"Freescale Kinetis K60 Series Device Support and Examples" from https://www.keil.com/dd2/pack/
STM32:
"STMicroelectronics STM32F4 Series Device Support, Drivers and Examples" from https://www.keil.com/dd2/pack/
The text was updated successfully, but these errors were encountered: