This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf52 SPIM no MISO response

Hi,

Im trying to connect MCP25625 via SPI on nrf52. I checked with the scope that CS, MOSI and SCK are correct, but I get no reply on MISO line whatsoever. I perform a very easy operation:

  1. Reset - send 1 byte data
  2. Read register - send 3 bytes.

Any ideas what to check? i have 2 custom boards and they both have the same issue.

image description OSC2 waveform

image description 3-byte command bitbanging SCK and MOSI lines

Parents
  • I figured it out with your help:) So here is what happened:

    1. On one side the RESET pin of the device had to be connected to VCC if unused, so that was totally unrelated to nrf52 2) On the other side NRF52 cant send 1byte commands via SPI, and RESET command was a 1-byte command. I ended up bitbanging RESET command and using SPIM for the rest of longer commands. Thanks for the help!
  • I'm glad you figured it out, and that workaround Wojtek posted is really easy to follow, so I'd recommend rolling that in.

Reply Children
No Data
Related