Skip to main content
Pooja WANI
Associate III
August 5, 2019
Solved

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?

  • August 5, 2019
  • 3 replies
  • 1409 views
    This topic has been closed for replies.
    Best answer by Erwan YVIN

    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

    3 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    August 13, 2019

    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 III
    August 14, 2019

    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 III
    August 23, 2019

    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