cancel
Showing results for 
Search instead for 
Did you mean: 

Will CMSIS drivers be available for STM32L4 and if so when?

John F.
Senior
Posted on April 07, 2017 at 13:22

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?

8 REPLIES 8
Posted on April 07, 2017 at 13:33

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

John F.
Senior
Posted on April 10, 2017 at 09:24

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

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fpack%2Fdoc%2Fmw%2FGeneral%2Fhtml%2F_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://community.st.com/external-link.jspa?url=https%3A%2F%2Fwww.keil.com%2Fpack%2Fdoc%2FCMSIS%2FRTOS2%2Fhtml%2Findex.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

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fdd2%2F

If you look at the entry for STM32F407

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fdd2%2Fstmicroelectronics%2Fstm32f407igtx%2F

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

    

https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fdd2%2Fstmicroelectronics%2Fstm32l476vgtx%2F

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.

John F.
Senior
Posted on April 10, 2017 at 11:10

Unreasonable or not, ST did it for STM32F4 so ... are ST going to do it for STM32L4 and if so, when?

Posted on April 10, 2017 at 11:01

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

Posted on April 10, 2017 at 17:35

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.

John F.
Senior
Posted on April 11, 2017 at 08:40

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.

John F.
Senior
Posted on May 08, 2017 at 11:27

Hi Amel,

Any update yet please?

Thanks, John F.

John F.
Senior
Posted on June 09, 2017 at 08:33

Hi Amel,

Any update yet please?

Thanks, John F.