Skip to main content
VKuma.18
Visitor II
Mar 8, 2022 11:28 AM UTC
Solved

Read UART Data on interrupt in SPC5 controller.

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.
Erwan YVIN
Erwan YVINBest answer
ST Technical Moderator
Mar 17, 2022 2:25 PM UTC

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

2 replies

Erwan YVIN
Erwan YVINBest answer
ST Technical Moderator
Mar 17, 2022 2:25 PM UTC

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Associate III
Apr 18, 2022 6:02 AM UTC

Hello

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