SPI with DMA incorrect NSS behavior
HI.
My MCU is STM32L071CZ, CubeMX latest version on this period of time.
I try to communicate with an external SPI-Flash IC. The SPI uses software NSS. The communication is good but only if I'm not using DMA.
When I try to communicate with flash using HAL_SPI_TransmitReceive_DMA() function and try to transmit or receive more than 2 bytes, the communication fails. Because of on second transmitted byte NSS goes into High (unactive) mode.
I also try to use TxRx transmit complete callback, but the behavior is the same.
What I do wrong? How to force NSS pin rise up when the transaction is complete?
