This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there a way to configure an IO port as high-impedance?

Hi,

I've tried to search the documents and the forum for an answer to my question, but didn't have much luck.

We have a custom board that uses a STM32 micro and nRF51822 at the same time. When the board was being designed, we didn't know if we were going to use SPI or I2C for communication between the two micros. So, the SPI and I2C lines were added between the two micros. During coding, we eventually went with using the SPI. However, with the I2C lines still present on the hardware, it is affecting the I2C communication between the STM32 micro and the other sensors.

Is there a way to configure the GPIO ports on the nRF51822 as high-impedance? That way it wouldn't affect the other devices using the I2C lines.

Any help is much appreciated.

Thanks,

Leo

Parents Reply Children
No Data
Related