I need to read data from EPPI with core1 (sharc+) in CCES2.4.0, but thers is no
example in the "ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.0" folder for the PPI Driver add-in.
Is there any example code or project?
Please find attached the example code for ADSP-SC58x EPPI. It shows how to do 8 bit data transfers between two ADSP-SC589 EZ-Kits using PPI interface.Please refer to readme.txt file in the attached folder for hardware connections.
Thanks for your code, it's very helpful. But I still have problems to make my program work.
First I want to know the difference between adi_eppi_SubmitBuffer and adi_eppi_SubmitFrame, I guess that the first is fit for one FrameSync transfer, and the 2nd is for two or three FrameSyncs transfer, because adi_eppi_SubmitFrame has the YStride parameter, is that right?
Currently I'm using FS1 mode to read data from ADC. The FS1 and CLK are all external. After each FS1 signal, a frame of 4400 samples are fed into the EPPI. But my program always miss the first frame, and from the 2nd frame, there are only 2200 samples read into the framebuffer by DMA. And the EPPI_STAT=0x0002, which indicates a "Luma FIFO error".
Retrieving data ...