MIXMRT1064 UART DMA RIDMAE and STAT[IDLE]

cancel
Showing results for 
Search instead for 
Did you mean: 

MIXMRT1064 UART DMA RIDMAE and STAT[IDLE]

205 Views
Keith4DSmith
Contributor V

The MIXMRT1064 datasheet states for LPUART, BAUD[RIDMAE] that setting this bit will generate a DMA request. DMA request generated when STAT[IDLE] is asserted.

A DMA interrupt does not occur for this condition. Instead, an 0xFF is put in the buffer, as stated in the datasheet, DATA=0x000_33FF.

The DMA does not interrupt on RX idle, but only on RX DMA buffer full.

There are many postings about how the DMA, UART, and RX idle do not play well together.

Seems RIDMAE is useless.

Am I missing something?

0 Kudos
2 Replies

182 Views
mjbcswitzerland
Specialist V

Hi

If an interrupt is required on idle line this can be configured in LPUARTx_CTRL, which can be used to signal that DMA reception of a block of data has completed.

RIDMAE has been added to the LPUARTs in the i.MX RT (the LPUART version in the Kinetis parts, for example, doesn't have this) and although its behavior is described I don't know what its general practical use is - possibly it was added due to a specific customer requirement(?)

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or product development requirements

 

0 Kudos

186 Views
FelipeGarcia
NXP TechSupport
NXP TechSupport

Hi Keith,

Sorry for the late reply. Could you please provide the project you are using so I can test it on my side?

Best regards,

Felipe

0 Kudos