Skip to main content
Associate II
July 12, 2024
Solved

How to start using UART for SPC58EG?

  • July 12, 2024
  • 3 replies
  • 2287 views

I am currently developing UART functionality on the SPC58EG chip, and I want to use LinFlexD1 hardware channel to develop UART.

However, I cannot find relevant examples in the SPC5 Studio IDE.

I am referring to the official manual (RM0391), which mentions that the Peripheral Sensor Interface-Support module (PSI5-S) must be enabled and related registers modified to use LinFlexD as UART.

Are there any more specific example codes or projects that can be used as a reference for developing UART?

Thank you.

螢幕擷取畫面 2024-07-12 122658.png

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

Hello Fukai ,

There is no specific example for the IP PSI5-S modes.

I recommend to fork serial_lld.c in SPC5Studio

           Best regards

                      Erwan

 

 

 

3 replies

FuKaiAuthor
Associate II
July 12, 2024

螢幕擷取畫面 2024-07-12 170503.png

Picture to supplement the description

Erwan YVIN
Erwan YVINBest answer
ST Technical Moderator
July 12, 2024

Hello Fukai ,

There is no specific example for the IP PSI5-S modes.

I recommend to fork serial_lld.c in SPC5Studio

           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.
FuKaiAuthor
Associate II
July 12, 2024

hi Erwan, 

thank you for your reply.

I find the definitions and functions for UART in serial_lld.c and its related files in SPC5Studio.

Can I use these files in other IDE directly or I can use in SPC5Studio only?