2017-04-07 04:22 AM
Will ST provided CMSIS drivers for STM32L4 in the stm32cube_ ... and if so when please?
I am particularly interested in the SD card and USB.
I plan to use the Keil RTX5 CMSIS RTOS2 which demands CMSIS drivers.
ST any plans please?
2017-04-07 04:33 AM
CMSIS mandates only headers for registers and some rudimentary functionality, this is all available.
Keil RTX5 CMSIS RTOS2
I don't know this. Can you please be more specific in what it exactly requires?
If you mean Standard Peripheral Library, the answer is: never.
JW
2017-04-10 12:24 AM
Hi Jan,
Thanks for replying. The question is really to do with using Keil Middleware.
Keil / ARM Technical Support informed me,
'You can use CMSIS RTOS2 on your STM32L476 board. However, since now the CMSIS SPI or MCI driver support is missing in the latest STM32L4xx_DFP pack v1.4.0, it is not possible to use SD card without writing your own CMSIS driver for it. And CMSIS USB driver support is missing for STM32L4xx as well. Thus, you cannot use USB MSC from our middleware either without writing your own CMSIS USB driver. As shown here
, without CMSIS driver support, it is not possible to use our Middleware.' ...
'Usually chip vendors will provide corresponding CMSIS drivers for their chips, which will be available in the device family pack in Pack Installer. There are many Cortex M4 chips that have CMSIS drivers support, such as STM32F4xx, Infineon XMC4000, NXP K60, NXP LPC4300 etc.'
The Keil CMSIS-RTOS2 is described at
which also links to a description of RTX v5.
Keil 'MDK5 Device List' lists ARM Cortex-M based microcontrollers that are supported by Software Packs and can be used in MDK Version 5. Please see
https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fdd2%2F
If you look at the entry for STM32F407
you'll see that CMSIS drivers are listed for
CAN Driver for STM32F4 Series
SPI Driver for STM32F4 Series USART Driver for STM32F4 Series I2C Driver for STM32F4 Series MCI Driver for STM32F4 Series Ethernet MAC Driver for STM32F4 Series USB Device Full-Speed Driver for STM32F4 Series USB Device High-Speed Driver for STM32F4 Series USB Host Full-Speed Driver for STM32F4 Series USB Host High-Speed Driver for STM32F4 SeriesBut if you look at the entry for STM32L476VGTx
you see there are 'No CMSIS-Driver in Device Family Pack.'
I'm assuming the Device Family Pack is to be provided by ST and hence my question - if ST will provide CMSIS Drivers for the STM32L4 and when.
If I've misunderstood, please correct me. I think the question is really for ST to answer. I'm looking to avoid the entire HAL mess if possible although I think the Keil Middleware will still call HAL functions to set up the I/O etc. What was supposed to make things easier seems to have spawned a complicated muddle where you pay for Keil Middleware but can't use it if the Silicon Manufacturer doesn't supply CMSIS drivers.
Thanks John F.
2017-04-10 02:10 AM
Unreasonable or not, ST did it for STM32F4 so ... are ST going to do it for STM32L4 and if so, when?
2017-04-10 04:01 AM
Ah, this is relatively new. Last time I looked CMSIS was at version 3 and there was no such requirement in it.
Keil is ARM so whatever they want to add it's easy for them to push it as an ARM requirement; OTOH it's unreasonable to expect the silicon manufacturers to jump just to promote Keil's business, IMO.
JW
2017-04-10 10:35 AM
are ST going to do it for STM32L4 and if so, when?
I'll check and come back to you soon.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-04-10 11:40 PM
Hi Amel,
Thanks.
Also ... I wondered if ST has a policy to go its own way with HAL etc., support CMSIS or a bit of both?
John F.
2017-05-08 02:27 AM
Hi Amel,
Any update yet please?
Thanks, John F.
2017-06-08 11:33 PM
Hi Amel,
Any update yet please?
Thanks, John F.