This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS570LC4357-EP:DMA:高优先级 CAN 传输会挤占低优先级

Guru**** 2457760 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1232381/tms570lc4357-ep-dma-can-high-priority-transfers-pre-empt-a-low-priority

器件型号:TMS570LC4357-EP

您好!

我们正在开发一个需要并行执行的项目:

*高速采集 ADC ,连接在 SPI 总线上

*事件记录到 SPI 闪存。

高速 ADC 采集应定期进行、而不会发生抖动、而记录到闪存的事件可以较低的优先级执行、如果在完成闪存存储的所有传输之前发生较高优先级的 ADC 周期、则最终会中断

根据 TMS570LC43x 数据表 spnu563a.pdf、p706、可将闪存传输指定为低优先级、将 ADC 指定为高优先级。

我们想知道:

当高优先级 DMA 挂起时

它可以在所有传输完成之前中断正在进行的低优先级 DMA 传输、以便为高优先级 DMA 传输提供服务

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是、如果使用优先级队列:ADC 在高优先级队列中、 闪存存储传输在低优先级队列中。