Hi
What are the default SPI configuration in nrf52840 for miso, mosi, clk, cs? What are default the pull up, pull down configuration ?
Thanks
Hi
What are the default SPI configuration in nrf52840 for miso, mosi, clk, cs? What are default the pull up, pull down configuration ?
Thanks
See the reset values of the SPIM's Registers. Pull resistors are controlled by the GPIO peripheral and they are unconnected by default.
hi thanks
Does that mean I can set the pull resistors by GPIO ?
Yes, use nrf_gpio_cfg to set the configuration of a gpio. Why do you need pull resistors for SPI btw?
I'm having some power consumption issues while accessing the SD Card through the SPI lines. So just making sure everything is intact with SPI connection in hardware and firmware
I'm having some power consumption issues while accessing the SD Card through the SPI lines. So just making sure everything is intact with SPI connection in hardware and firmware
Then I suggest you open up a new ticket for that issue where you give us as much information as possible, as the current post is about SPI configuration and it being sufficiently answered :)
Thanks but the problem seems to be with the sd card, multiple sector write consuming more current. I don't think that is anything to do with nordic. That's why not posting about sd card issue.