2020-04-15 02:38 AM
When using an STM32L0 USART in SPI master mode, if the Slave needs a low level at the beginning of the frame and a high after the data byte, can I use any GPIO as NSS master to output this levels?
Solved! Go to Solution.
2020-04-15 03:41 AM
> can I use any GPIO as NSS
Yes.
> USART in SPI master mode
I wonder, where this confusing terminology came from. It's *synchronous* mode of the USART, that's why the S in USART...
JW
2020-04-15 03:25 AM
Hello @FBIZA.1 ,
I recommend you to review the pins assignment in the datasheet related to your product.
Best Regards,
Imen
2020-04-15 03:41 AM
> can I use any GPIO as NSS
Yes.
> USART in SPI master mode
I wonder, where this confusing terminology came from. It's *synchronous* mode of the USART, that's why the S in USART...
JW
2020-04-15 05:49 AM
I took this terminology from this ST presentation <USART used as SPI Master (page 14)>. But they don't specify anything about which pin should apply the NSS signs for the slave.
Thanks for your clarifying answer!