STM32CubeMX + MDK-ARM: using UART
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-11-24 4:16 PM
Posted on November 25, 2014 at 01:16
Hi All,
I'm just starting up on development for STM32 Cortex M0 and M4, trying to use the CubeMX with MDK ARM to develop a simple communication protocol over rs485.However I could not find confirmations for my questions:- should I use the HAL SDK?- why my workbench does not support calls like:USART_SendData(USART2, 'X');
- where can I find detailed docs on the HAL SDK? (e.g. I still could not figure out the unit for the timeout parameter in the call HAL_UART_Receive - is that millis?)Any recommendations welcome!Thank you,Balas #hal #nucleo #usart #rs485
Labels:
- Labels:
-
STM32Cube MCU Packages
-
UART-USART
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-01-13 5:14 AM
Posted on January 13, 2015 at 14:14
Hi Balas,
Please find below answers to your questions:- should I use the HAL SDK?
- What do you mean by the HAL SDK ? STM32CubeMX ? if yes, you can use the HAL UART driver for RS485 vi the STM32CubeMX code generator or on a standalone example.
- why my workbench does not support calls like:
USART_SendData(USART2, 'X');
- The STM32CubeMx is used only for protocol initialization not for data transfer.
- where can I find detailed docs on the HAL SDK? (e.g. I still could not figure out the unit for the timeout parameter in the call HAL_UART_Receive - is that millis?)
- You can refer to the UM1725: Description of STM32F4xx HAL drivers available .
Regards,
Heisenberg.