Skip to main content
PBell
Associate
May 31, 2019
Question

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...

  • May 31, 2019
  • 3 replies
  • 851 views

..

This topic has been closed for replies.

3 replies

waclawek.jan
Super User
May 31, 2019

You still can use the pin as EXTI source.

JW

PBell
PBellAuthor
Associate
May 31, 2019

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

S.Ma
Principal
May 31, 2019

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