cancel
Showing results for 
Search instead for 
Did you mean: 

How to start using UART for SPC58EG?

FuKai
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

 

 

View solution in original post

3 REPLIES 3
FuKai
Associate II

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

Picture to supplement the description

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

 

 

 

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?