cancel
Showing results for 
Search instead for 
Did you mean: 

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

MFran.10
Associate II

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?

1 REPLY 1
S.Ma
Principal

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.