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?
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.
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 http://www.keil.com/pack/doc/mw/General/html/_driver_interface.html , 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 https://www.keil.com/pack/doc/CMSIS/RTOS2/html/index.html 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 http://www.keil.com/dd2/
If you look at the entry for STM32F407 http://www.keil.com/dd2/stmicroelectronics/stm32f407igtx/ 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 Series
But 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.
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.
Unreasonable or not, ST did it for STM32F4 so ... are ST going to do it for STM32L4 and if so, when?
are ST going to do it for STM32L4 and if so, when?
I'll check and come back to you soon.
Also ... I wondered if ST has a policy to go its own way with HAL etc., support CMSIS or a bit of both?
Any update yet please?
Thanks, John F.
Retrieving data ...