Please help me!!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Please help me!!

Jump to solution
901 Views
chappie_o
Contributor II

Hello, I'm using the S32K314 model and working on creating an app by incorporating the 'RTD 4.0.0' SDK. I want to utilize UART functionality using Mcal instead of Ip. Currently, I am referring to the Uart_Example_S32K344 sample code, but it seems like the configuration is not working well. If I'm only using UART, do I just need to add Mcal drivers such as Mcu, Platform, Port, and Uart? Also, in the example, I noticed the use of FlexIO. Are these pins physically connected?

0 Kudos
Reply
1 Solution
875 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

The hardware connection mentioned in Uart_Example_S32K344_RTD400 description.txt is wrong. According to the configuration of Port component:
Flexio0_Tx PTD0 GPIO[96] should connect to Lpuart3_Rx PTD3 GPIO[99]
Flexio1_Rx PTD1 GPIO[97] should connect to Lpuart3_Tx PTD2 GPIO[98]

Uart_Example_S32K344_RTD400  description.pngUart_Example_S32K344_RTD400 PTD0 PTD1 PTD2 PTD3.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

4 Replies
876 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

The hardware connection mentioned in Uart_Example_S32K344_RTD400 description.txt is wrong. According to the configuration of Port component:
Flexio0_Tx PTD0 GPIO[96] should connect to Lpuart3_Rx PTD3 GPIO[99]
Flexio1_Rx PTD1 GPIO[97] should connect to Lpuart3_Tx PTD2 GPIO[98]

Uart_Example_S32K344_RTD400  description.pngUart_Example_S32K344_RTD400 PTD0 PTD1 PTD2 PTD3.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

850 Views
chappie_o
Contributor II

Thank you for the kind explanation. However, could you please tell me why Flexio is used?

0 Kudos
Reply
846 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I think it's just to demonstrate FlexIO_UART and LPUART communication in a sample project. Please delete the FlexIO related parts if you don't need to use FlexIO to implement the UART function.

0 Kudos
Reply
841 Views
chappie_o
Contributor II

Thank you for responding to my question. However, my inquiry was about the advantages of using FlexIO UART functionality. Could you provide information on why it is used and what benefits it offers?

0 Kudos
Reply