Hi...,
I'm running first tests on a EVM648 and a camera connected to a VideoCapturePort (VP2.A) (8bit raw) through an own developed daughterCard. EDMA uses 64Bit transfers from videoport-FIFOs, so 8 Pixels are copied with one EDMA access from VP FIFO into DSPs memory.
Surprisingly, the Pixels are swapped, so I got 7-6-5-4-3-2-1-0-15-14-13-12-11-10-9-8. An image of an edge from the top left to the bottom right corner looks like this:
Running the same camera (in the same configuration) on a DM642, the pixels are not swapped. In the spruem1.pdf (DM648 videoport manual), the 'Raw Data FIFO Packing' is the same on DM642 and DM648. But in spru629.pdf (DM642 videoport manual) both 'little endian' and 'big endian' packing exist. Chapter 3.7.2 Raw Data FIFO Packing: "The packing and byte ordering is dependant upon the capture data size and the device endian mode."
Is it possible to switch this endian-mode on the capture video port?
How can the 'device endian mode' be set or where can I look what 'endian mode' is used on my system?
How can I configure VP/EDMA in a way that the pixels are swapped (readout the same way on DM642 and DM648)
best regards,
Thomas