Writing data from UART with DMA in a new Array

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

Writing data from UART with DMA in a new Array

跳至解决方案
613 次查看
12914A
Contributor III

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 解答
569 次查看
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 回复
570 次查看
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 项奖励
回复