大家好,有人经验性地测试他们能用PMP模式在PIC32模式下将数据流到PIC32 MZ吗?我正在考虑一个应用程序,我将尝试使用PIC32 MZ作为一个字节抓取器在适度的高数据速率。我已经看到线程,其他人报告能够将数据从PIC32 MZ在USB上传输到超过24 Mb/SEC的PC。同时,我最近的经验与DMA引擎的局限性使我怀疑这是明智的追求这一目标。运行在200兆赫,所有PBLKs运行在100兆赫(允许在200兆赫),并有PMP时钟数据驱动的REFCLKOx在20兆赫。试探性地,如果我配置PMP在3/4满时引发一个中断,但告诉DMA在每个触发器上读取4个字节,在DMA反应的时候它应该是满的。也许吧。
以上来自于百度翻译
以下为原文
Hello all,
Has anyone empirically tested how fast they can stream data in to a PIC32MZ using the PMP in slave mode?
I'm considering an applica
tion where I would try to use the PIC32MZ as a byte-grabber at moderately high data rates. I have seen threads where others report being able to stream data from a PIC32MZ over USB to a PC at over 24 MB/sec.
At the same time though, my recent experience with the limitations of the DMA engine is making me wonder if it's wise to pursue this goal.
The tentative plan would be to have the core run at 200 MHz, all PBCLKs running at 100 MHz (200MHz where allowed) and to have the PMP clock in data driven by REFCLKOx at 20 MHz. Tentatively if I configure the PMP to raise an interrupt when 3/4 full, yet tell the DMA to read 4 bytes on every trigger it should be full by the time the DMA has reacted... maybe.