cancel
Showing results for 
Search instead for 
Did you mean: 

Read UART Data on interrupt in SPC5 controller.

VKuma.18
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

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

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee

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

DNewm.1
Associate III

Hello

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