STM32(G4) SPI Chip-Select: Set low after MOSI is High and does not stay low(Pulses)
Hello,
at the moment I try to get a Sensor working, I use the HAL_SPI_TransmitReceive_IT and HAL_SPI_TransmitReceive_DMA functions.:
The settings I used are:
- Mode: Full Duplex Master
- NSS: Hardware Output; has Low-Enables Slave-Select.
- Frame-Format: Motorola
- Data-Size: 8 Bits
- First Bit: MSB First
- CPOL: 0 = Low ; Clock Polarity starts low,
- CPHA: 0= 1st Edge ; Clock Phase is the first edge
I have discovered two things that I did not expect:
- The nSS(negative Chip-Select) is active after the MOSI, how can that be changed, so I get a longer CS?
- The nSS(negative Chip-Select) does not stay low, how can I change it to stay long for the duration of the entire transfer?

If I change ti TI mode the Signals look like the following diagram, which is not matching the specification either.
-----------------------------------------------------------------------------
Can someone give some suggestions on how to fix the issue or the limitations of the SPI-Controller of the STM32(G4)?
Thanks a lot.
Best Regars, Seppeltronics
