Writing data from UART with DMA in a new Array

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing data from UART with DMA in a new Array

Jump to solution
267 Views
Sandra1
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

Tags (3)
0 Kudos
1 Solution
223 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Sandra1,

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

View solution in original post

0 Kudos
1 Reply
224 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Sandra1,

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 Kudos