MQX 4.2 Kinetis Serial DMA

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

MQX 4.2 Kinetis Serial DMA

2,585件の閲覧回数
kfranz
Contributor III

In MQX 4.2 there is a file named serl_dma_kuart.c

Freescale_MQX_4_2\mqx\source\io\serial\dma\serl_dma_kuart.c

Are there any examples that use DMA for the UART? I would like to change from the interrupt driven driver to one that uses DMA so that I can run at a higher baud rate.

Will using DMA reduce or eliminate serial port interrupts?

0 件の賞賛
返信
3 返答(返信)

2,571件の閲覧回数
kfranz
Contributor III

No, UART DMA is not working.

Does anyone have any suggestions?

0 件の賞賛
返信

2,574件の閲覧回数
kfranz
Contributor III

I am using the K65. In:

C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\twrk65f180m\initbsp.c for ittya, I made the changes below:

#if BSPCFG_ENABLE_ITTYA
//_kuart_int_install("ittya:", &_bsp_sci0_init, _bsp_sci0_init.QUEUE_SIZE);
_kuart_dma_install("ittya:", &_bsp_sci0_init, _bsp_sci0_init.QUEUE_SIZE);
#endif

It seems to be working okay. I assume I am now using DMA?

0 件の賞賛
返信

2,554件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi kfranz:

The checked this, and the UART DMA is not documented.  It looks like the files were added for future release. But now MQX 4.x is replaced by MQX v5.  Please refer to below link for more details.

https://www.nxp.com/design/software/embedded-software/mqx-software-solutions/mqx-v5-software-solutio...

I would suggest you do more test on your side.

 

Regards

Daniel

 

0 件の賞賛
返信