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?
Solved! Go to Solution.
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]
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.
-------------------------------------------------------------------------------
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]
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.
-------------------------------------------------------------------------------
Thank you for the kind explanation. However, could you please tell me why Flexio is used?
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.
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?