cancel
Showing results for 
Search instead for 
Did you mean: 

How can i get an interrupt when a SPI transaction is over(CS goes back high) when using the HARDWARE CS in SLAVE mode? I was trying to attach a function to to it as a GPIO but as i configure the pin to AF i cant do this...

PBell
Associate
 
3 REPLIES 3

You still can use the pin as EXTI source.

JW

PBell
Associate

But I can only choose one configuration with CubeMx(SPI NSS / GPIO EXTI)

S.Ma
Principal

EXTI on Alternate function is not supported by CubeMX AND HAL. You have to directly hack and write the HW registers to get retribution.