I need help to configure the SPI PSP drivers to interface with a slave device in the following format:
- C6747 is master
- mode is Spi_PinOpMode_SPISCS_4PIN
- opmode is Spi_OpMode_DMAINTERRUPT (e.g. EDMA is used to facilitate transfer of multiple data words)
- data word is 8 bits.
- Chip Select must be deactivated momentarily between each 8 bit transfer.
The last bullet is what I can't get working. There is either a bug in the PSP driver or I'm not setting a field correctly.
I have CSHOLD set to 0. I enable the wait delay and set the delay value very high. When I capture the output on a scope,
I do not see the the CS toggle inactive and back to active between successive bytes. It remains active until all bytes have been sent out. Then goes back to inactive after a LONG delay (30-40 useconds).
Also note that the C2TDELAY and T2CDELAY times don't seem to work either. These delay times are VERY LONG relative to what the SPI user's guide states they should be. I think this may be related to the PSP driver with the DMA mode enabled? Can someone from TI confirm? Or tell me what fields need to be set to get SPI CS to toggle between data word transfers?
thanks,
Mike