Part Number: AM5718
Hello
We are using AM5718 in a custom application board.
The processor receives frames through SPI at a baud rate of 16Mbps (frame length is constant about 7000 bytes).
The processor is slave on the bus so we customized the spi driver and use DMA to offload data from the SPI FIFO to DDR3.
Everything works fine as long as long as we don't have much activity on the ARM side. As soon as we activate processing, we experience frame loss (some bytes are missing leading to frame being discarded).
We had the same kind of issue on a previous project (using OMAP L138) and it was fixed using internal RAM for data storage instead of external DDR.
--> Can you please provide guidance on how we can declare the OCMC in the DTS and how to allocate buffers in this memory from the driver ?
--> Can you also provide guidance on how to setup priorities on the crossbar between DMA and other peripherals ?
Thanks
Mathieu