Skip to main content
VKuma.18
Visitor II
March 8, 2022
Solved

Read UART Data on interrupt in SPC5 controller.

  • March 8, 2022
  • 2 replies
  • 2309 views

how to use UARTto receive data on interrupt instead of using this api (sd_lld_read) as this works in blocking mode in while loop.

Micro is SPC560P50L3.

Is there is an example to use the Uart Rx on interrupt.

As we use this method in Stm32.

This topic has been closed for replies.
Best answer by Erwan YVIN

Hello ,

I recommend you to use some multi-threads mecanism in some RTOS FreeRTOS-RLA or Chibios-HAL.

Otherwise , you need to redevelop sd_lld_read UART Driver

Best Regards

Erwan

2 replies

Erwan YVIN
Erwan YVINBest answer
ST Employee
March 17, 2022

Hello ,

I recommend you to use some multi-threads mecanism in some RTOS FreeRTOS-RLA or Chibios-HAL.

Otherwise , you need to redevelop sd_lld_read UART Driver

Best Regards

Erwan

Associate III
April 18, 2022

Hello

Is there any other methods to enable uart interrupt? Like using IRQs or ...?​