Receive DMX512 on LPUART1 S32k146

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

Receive DMX512 on LPUART1 S32k146

跳至解决方案
217 次查看
12914A
Contributor II

Hi all,
I'm trying to read DMX512 Messages with the LPUART1 (PTC8, PTC9) from the S32k146. 

The data is generated by a Slesa-U9 and could be measured and decoded from the oszillator as UART.
My problem is, that as GPIO I can receive the data, but as LPUART there is no data in the

LPUART1->Data Register.
So my question is, if there's any existing project for receiving DMX on a S32k microcontroller. 
If not, can you please help me and find my mistake? 

 

Best regards

Sandra

标记 (3)
0 项奖励
回复
1 解答
197 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @12914A,

Currently there are no DMX512 examples for the S32K1xx's devices. If no data is being received, make sure the LPUART module is being correctly configured for the DMX protocol, as start bits, parity, baud rate, stop bits, etc.

You can find inside the AN5413: S32K1xx Series Cookbook an example application for UART over registers. This example performs a simple UART 9600 baud transfer to a COM port on a PC. You could try sending singular bytes to test communication.

Best regards,
Julián

在原帖中查看解决方案

0 项奖励
回复
1 回复
198 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @12914A,

Currently there are no DMX512 examples for the S32K1xx's devices. If no data is being received, make sure the LPUART module is being correctly configured for the DMX protocol, as start bits, parity, baud rate, stop bits, etc.

You can find inside the AN5413: S32K1xx Series Cookbook an example application for UART over registers. This example performs a simple UART 9600 baud transfer to a COM port on a PC. You could try sending singular bytes to test communication.

Best regards,
Julián

0 项奖励
回复