cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to configure UART using SPC560B Dis Board. UART mode isn't getting initialised. Code is attached herewith. How to solve the issue?

Pooja WANI
Associate II
 
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello ,

Is it a crash ?

Do you use RLA components ?

we have a lot of UART examples in SPC5Studio (SPC560B Dis Board)

I recommend you to compare the initialization of UART

Best Regards

Erwan

View solution in original post

3 REPLIES 3
Erwan YVIN
ST Employee

Hello ,

Is it a crash ?

Do you use RLA components ?

we have a lot of UART examples in SPC5Studio (SPC560B Dis Board)

I recommend you to compare the initialization of UART

Best Regards

Erwan

Pooja WANI
Associate II

Yes, I am using RLA components. This issue got resolved. However, UARTSR.DRF bit is not getting set while reception of data. And TO bit is getting set.

What can be the issue over here?

Thanks and Regards,

Pooja WANI

Pooja WANI
Associate II

Hello,

I could run the UART successfully without using "Init Package Component RLA". However, if I add this component, my code gets stuck at

"0x000000E0:  78 00 00 00 E_B    _IVOR1 (0x000000E0)"

Because of this, I am not able to use Interrupt_based UART.

How to resolve this issue?

Thanks and Regards,

Pooja WANI