Hi,
on RM48L952 custom board & Halcogen 03.06.00
i need to transfer 24Bit via SPI2 to a slave Three-Pin-Mode,
getting the same behaviour as described for a mibspi in
http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/253075/886344.aspx#886344
'...The chip select goes low and the first 8 bits are sent. The CS then goes high (inactive) for about 50 nsec, then inactive before sending the next 8 bits...'
With mibSpi to solve with enabling 'Lock transmition', but there is no such cfg for SPI2
---
Using the interrupt based spiSendAndGetData function provided by halcogen.
dataconfig1_spi2_t.CS_HOLD = FALSE;
dataconfig1_spi2_t.WDEL = FALSE; //(or true)
dataconfig1_spi2_t.DFSEL = SPI_FMT_0;
dataconfig1_spi2_t.CSNR = 0xFE;
spiSendAndGetData(spiREG2, &dataconfig1_spi2_t, nBytes, txData, rxData);
For the WDEL configuration the user manual says:
0: ...
No delay will be inserted. However, SPISCS pins will still be de-activated for at least for 2VCLK
cycles if CSHOLD = 0.
1: ...
The SPISCS pins will be deactivated for at least (WDELAY + 2) * VCLK_Period duration.
---
If de-activated means cs-high it sounds like i cant talk to my slave cause the device is aborting receive operation before all data is in.
Is there any way to solve this?
Thanks for help in advance...
Regards
Andreas