serial driver using cmsis ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-04 10:57 PM
Hello,
Is there a cmsis driver for uart ?
I build with stm32cubemx, but I did not find any cmsis files for any driver (I also don't see in cube anywhere we can state that we want to use cmsis driver)
I also did not find it in examples of stm32cubeh7:
en.stm32cubeh7\STM32Cube_FW_H7_V1.3.0\Projects\STM32H743I_EVAL\Applications\FatFs
Thank you,
ranran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-05 1:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-06 3:05 AM
The CMSIS "driver" just DECLARES the USART access configuration - function/variable/flags names, driver structure - suggesting NO code to work with the peripheral. You should IMPLEMENT - write the code of - the declared functions, fill the "empty" functions in. When using KEIL, you'll find the templates under
\KEIL\ARM\Pack\ARM\CMSIS\5.4.0\CMSIS\Driver\DriverTemplates
You can use CubeMX functions for a certain STM CPU to implement the needed driver functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-18 12:24 AM
Hi!
Sorry for long silence.
I think that Cube not include CMSIS for UART. You need download CMSIS library from Keil site (see link) and include this driver into own project self.
There are own drivers for UART into Cube (see file stm32f4xx_hal_uart.c)
