S32K311_LPUART1_LIN_CLOCK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K311_LPUART1_LIN_CLOCK

跳至解决方案
1,037 次查看
arnau_sastre_doga
Contributor II

Hi,

I'm trying to use LPUART0 and LPUART1 to read two LIN transcievers via LPUART_LIN peripheral. As per Uart0 everything is running smooth but for UART1 I have a question regarding the UART clock.

In the reference manual, you state that in s32k311 UART0 and UART1 is clocked by AIPS_PLAT_CLK that in my case is set to 60MHz.

arnau_sastre_doga_0-1736844579139.png

Meanwhile, in the procesor expert window for s32k311, I see that LPUART1 is set to AIPS_SLOW_CLK that is set to 30MHz. 

arnau_sastre_doga_1-1736844777463.png

When I set up the peripheral it takes the 30MHz clock, but analyzing protocol traces I do think its actually going at 60 MHz since with the same baudarate setting as in UART0 I can recieve LIN Slave RX messages with all the data but I cannot send TX message when a header is sent by the master.

Can this be an error ?

Thanks for the support !

标记 (3)
0 项奖励
回复
1 解答
1,027 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @arnau_sastre_doga,

You did not specify the RTD version.

But the newest RTD 5.0.0 is correct.

danielmartynek_0-1736856887084.png

 

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,028 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @arnau_sastre_doga,

You did not specify the RTD version.

But the newest RTD 5.0.0 is correct.

danielmartynek_0-1736856887084.png

 

0 项奖励
回复
1,007 次查看
arnau_sastre_doga
Contributor II

Btw, do you have any documentation regarding the upgrade of RTDs of a project ?

It would be helpful to avoid chaos on when migrating from one update to the other.

 

Thanks !

标记 (2)
0 项奖励
回复
1,002 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

I'm afraid there is no such document, and the RTD of a project cannot be updated.

I would recommend that you install a new instance of S32DS IDE 3.5 in a new directory.

Then, install RTD 5.0.0 in the new IDE only while keeping the old project and RTD 3.0.0 in the older IDE installation. Once the RTD 5.0.0 project is configured, copy your custom code.

 

Regards,

Daniel

0 项奖励
回复
1,012 次查看
arnau_sastre_doga
Contributor II

Hi,

I'm using RTD 3.0.0, so makes sense that a further update has fixed this.

Apologies for the inconvenence, I'll download the last RTD. 

 

Thanks !