Hello,
I tried to configure the MIBSPI5 in slave mode to receive 64-bits in the TG0 --> 4x 16-bits
Clock is generated by N2HET
My Chips Selected signal is send using N2HET and is activated low when starting to receive data and set high when the 64-bits data transmission is finished
here is my configuration : (using Halcogen)
Global configuration:
- slave mode and no clock (clock is send by N2HET)
Data format 0 configuration :
-I set the Charlen to 16
- I set clock polarity
In Transfer groups configuraiton:
- data format 0 selected
- CS_0 selected (CS is send by N2HET)
- buffer mode set to 2 : skip until RX empty (for DMA purpose)
- length in buffer = 4
- set the chip select hold bit
In the Port configuration:
- activate only the clock, CS0, and SIMO(0) pins
Result :
Only the fisrt 16-bits of data are received in mibspiRAM5->rx (0xFF0A0200) Do you know what can cause this problem ?
Thank you for your help
Brice