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

Can I set the nrf51822 spis miso pin as output when there is only one spi slave and one spi master on the bus.

My hardware only has one spi slave and one spi master. So can I just set the spi slave miso pin as output in spis_init function? If can not, can I set the pull down resistor on the slave miso pin on spis_init?

Parents Reply Children
  • nordic sdk set this miso pin as input&no pull when spis is initialized, and when it is selected(cs down), this pin function as miso, otherwise it is set as high impedence, just like other spi device, this is useful when there has more than one spi device on the bus. But in my system, there is only one spi device, So I want to set it as output.

Related