Hello engineers,
I am writing my own driver software for my C6746 board.
My board uses the following peripherals of C6746.
- McBSP0 and McBSP1: Each connected to an A/D converter.
- EMIFA Asynchronous I/F: Connected to two asynchronous SRAMs (CS2 and CS3).
Both McBSP and EMIFA function well when used separately.
However, when I start the McBSPs and then write to the external SRAM continuously, the McBSPs fall into RFULL error shortly.
I'm using the McBSP in FIFO mode. The FIFO is not full, but it stops reading from the Data Receive Register (DRR).
EDMA is not used. McBSP interrupt is enabled in frame sync mode (RINTM = 2h).
The McBSPs are externally clocked from the I2S A/D converters.
The sampling rate (FSR frequency) is 40 kHz.
The SRAMs are both 16Mbit asynchronous SRAM with 16bit interface.
Reading from the SRAM does not disturb the McBSP FIFO.
I see the error only when making write accesses.
I'm wondering what the EMIFA has to do with the McBSP FIFO.
What should I investigate on this problem?
Thank you.