Writing data from UART with DMA in a new Array

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

Writing data from UART with DMA in a new Array

ソリューションへジャンプ
407件の閲覧回数
12914A
Contributor II

Hi all,

I receive the data, but the problem is, that the CITER value from the ELINKNO register doesn't match with the value I got, when I write the registervalue in a variable.
Additionally the data in the recv_buf is not written from zero or the same field than in Msg.
I attached the DMA init and the code for the UART IRQ handler.

Please help me.

Sandra

タグ(3)
0 件の賞賛
返信
1 解決策
363件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @12914A,

Have you read the register's value by debugging?

Julin_AragnM_0-1715026234807.png

You can also test the example included with the example projects, which is based on the code in AN5413: S32K1xx Series Cookbook.

Julin_AragnM_1-1715026240510.png

Best regards,
Julián

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
364件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @12914A,

Have you read the register's value by debugging?

Julin_AragnM_0-1715026234807.png

You can also test the example included with the example projects, which is based on the code in AN5413: S32K1xx Series Cookbook.

Julin_AragnM_1-1715026240510.png

Best regards,
Julián

0 件の賞賛
返信