Skip to main content
MFran.10
Associate II
May 22, 2019
Question

Can SPI MISO pin state be read also in gpio's IDR?

  • May 22, 2019
  • 1 reply
  • 1034 views

There is an application with an SPI radio module that gives me a "Ready" signal on MISO line, pulling up or down the line. Is it possible to configure those three gpio pins as SPI and at the same time read their levels in their relative IDR?

This topic has been closed for replies.

1 reply

S.Ma
Principal
May 22, 2019

Yes you can.

Also, even if HAL doesn't provide the service, you can also use EXTI edge detection on alternate function. Hack directly and it will work as per the reference manual and datasheet.