STM32F0: FreeRTOS was blocked when calling HAL_UART_Transmit in task callback
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-06-23 9:16 PM
Posted on June 24, 2016 at 06:16
Hi,
I'm working on stm32f0 discovery board and using STM32Cube FW v1.5 libraries.As I tested the freertos example ''FreeRTOS_ThreadCreation'' with sending a string in ''LED_Thread1'' and ''LED_Thread2'' functions, then the platform will stuck.It's no problem to send the string in main, so I thinks the GPIO and Uart functionalities should be fine.If I didn't send the string in thread callback functions, the platform was okay too (I can see the LED blinking).I was wondering if it's allowed to use HAL_UART_Transmit in thread callback function. If yes, would you give me some suggestions to fix it.Thanks,Michael #uart #cubemx #freertos #cube
Labels:
- Labels:
-
FreeRTOS
-
STM32Cube MCU Packages
-
UART-USART
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
