Author Topic: [SOLVED] SPI problems  (Read 400 times)

mc-Abe

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • mc-Things
Re: SPI problems
« on: August 04, 2016, 01:08:16 am »
The processor we are using has a very flexible SPI peripheral that can use any of the pins. That is how you are able to use any pin you want for the SPI functionality. There is not SPI bit-banging going on. Is this output generated from the sample code below? The MOSI line (which i suspect is the SDIO line in your capture) should not be changing unless on a clock edge. Your capture seems rather suspect. As I said there is an issue with the SPI mode. I would try mode 1 instead of mode 0 and see if you get different results?