IMXRT685-HIFI4 USART DMA only sent once ?

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

IMXRT685-HIFI4 USART DMA only sent once ?

ソリューションへジャンプ
631件の閲覧回数
Padi-2023
Contributor III
In hifi4 interrupt, the code of CM33 is transplanted in, there is a thorny problem: uasrt0 can only be sent once using dma, and there is no usart_call_back, so the flag bit is not cleared in time, is it necessary to set USART0 interrupt in HIFI4? And how to configure XOS processes to register interrupt handlers?
0 件の賞賛
返信
1 解決策
563件の閲覧回数
Padi-2023
Contributor III

The problem has been resolved, the HIFI4 needs to register the activation interrupt mechanism.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
564件の閲覧回数
Padi-2023
Contributor III

The problem has been resolved, the HIFI4 needs to register the activation interrupt mechanism.

0 件の賞賛
返信
592件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Padi-2023 ,

Hope you are doing well!

Could you help me check this AN: 8-channel DMIC Audio Acquisition on RT600 HiFi4 (nxp.com)

There are two DMA controllers in i.MX RT600. Generally, the main recommended usage method is to allocate DMA0 to CM33 and DMA1 to HiFi4. There are several points to note when using DMA in HiFi4:
• HiFi4 interrupt should be registered and enabled in XOS or XTOS. The XOS is an embedded kernel from Cadence is designed for efficient operation on embedded systems built and the XTOS is a single-threaded runtime for Xtensa processors.
• The SRAM address of DMA operation needs to be non-cacheable.
• HiFi4 interrupt needs to be configured by INPUTMUX

 

Best regards,

Gavin

0 件の賞賛
返信