Receive DMX512 on LPUART1 S32k146

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Receive DMX512 on LPUART1 S32k146

ソリューションへジャンプ
290件の閲覧回数
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 解決策
270件の閲覧回数
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 返信
271件の閲覧回数
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 件の賞賛
返信