DMA based UART using LINFlexd

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

DMA based UART using LINFlexd

785件の閲覧回数
noorhasan
Contributor III

Hello,

 

We are trying to use LINFlexd for UART communication in DMA based implementation.

While the same Linflexd channel can be used successfully when we use it with interrupt based implementation, I can't see data being transferred after the DMA0_Ch0 ISR is triggered for DMA based implementation.

Some of the inconsistencies that we observed is related to LIN register values when Tx is triggered.

When we select UART mode in UARTCR, as per the reference manual LINTCSR[mode] should always be set to 1 (UART mode). But, as shown in the screenshot below, it is still set in LIN mode, while UARTCR is in UART Mode.

noorhasan_0-1711547451176.png

 

noorhasan_1-1711547609551.png

 

noorhasan_2-1711547619956.png

 

noorhasan_3-1711547666725.png

 

 

Further, the data registers are both showing not-accessible (????)

 

noorhasan_4-1711547728682.png

 

 

Please help with this.

Thank you

@justinlydick 

@haoyue-yan 

0 件の賞賛
返信
1 返信

752件の閲覧回数
haoyue-yan
NXP Employee
NXP Employee

Wrong community, please close this ticket. Identical ticket has been posted in the correct community for tracking. @noorhasan 

Thanks,

Haoyue

0 件の賞賛
返信