Please help me!!

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
845件の閲覧回数
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 件の賞賛
返信
1 解決策
819件の閲覧回数
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.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

4 返答(返信)
820件の閲覧回数
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.
-------------------------------------------------------------------------------

794件の閲覧回数
chappie_o
Contributor II

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

0 件の賞賛
返信
790件の閲覧回数
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 件の賞賛
返信
785件の閲覧回数
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 件の賞賛
返信