STM32F0 and SPI with CPHA=1 an NSS pin
Hello Forum,
I am new to STM32 but familiar with MCUs. My Problem is the SPI interface.
In the datasheet there is a figure (figure 277 of document RM0091) where all four possible combination of CPOL/CPHA are shown. There is also the signal nss in the figure.
I can reproduce all settings except CPHA=1 where the NSS signal disappears. On other place in the data sheet there is written that NSSP=1 is not possible if CPHA=1. SSOE did not work as I expect but that is an other topic... NSSP switches the NSS signal on/off.
My DAC needs a CS (NSS signal) and a pause between two samples and also CPOL=1/CPHA=1.
So is there a way to set CPOL=1 and CPHA=1 and have also a valid NSS signal on the GPIO pin?
Thank you for your help!
Martin