PPI on BF533 does not work correctly when using ADS-HPUSB-ICE
I want to read in a video-signal over PPI and DMA to a BF533.
When compiling a loader file and booting the program over the SPI interface,
everything works fine.
When starting the program with the ADS-HPUSB-ICE everything seems to work fine
and the count of bytes which are received is also ok, but the data is faulty.
The bytes seems to be shifted and the pack function does obviously not work.
Omnivision Video-Chip connected
Bit 0:8 to PPI0-PPI3 and PF12-PF15
HREF to PPIFS1
VSYNC to PPIFS2
FS3 connected to GND
Boot over SPI from Renesas Controller
*pPPI_CONTROL = 0xAC;
*pPPI_DELAY = 0;
*pPPI_STATUS = 0;
*pPPI_COUNT = 1024-1;
*pPPI_FRAME = 1024;
*pPPI_CONTROL = 0xAD;
* pDMA0_CONFIG =0;
*pDMA0_START_ADDR = (unsigned long*)(0x0);
*pDMA0_X_COUNT = COLS_XGA/2;
*pDMA0_X_MODIFY = 0x2;
*pDMA0_Y_COUNT = ROWS_XGA;
*pDMA0_Y_MODIFY = 0x2;
*pDMA0_PERIPHERAL_MAP = 0x0;
//INT enable / INT after complete Image/ discard FIFO / 2D / 16 bit
*pDMA0_CONFIG = 0x00B7;