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

rudydevolder

  • Newbie
  • *
  • Posts: 26
  • Belgian guy married Phillipina
  • Location: Philippines
    • View Profile
Re: SPI problems
« on: August 05, 2016, 05:36:14 am »
It works  ;) ;D  after swapping the MOSI and MISO line !

There must be an error in the documentation it says: in chapter 12.3
The Create method creates an object that describe the path to a chip by specifying Speed, Mode, SCLK, MOSI, MISO and SC.
But it's, Speed, Mode, SCLCK, MISO, MOSI, CS

I don't know why I got a signal on the input but I guess it's just because nothing was connected, so I thought I was really displaying the info from the MOSI line while it was the MISO connection.

I'm so happy to know that SPI is done by hardware and not bitbanged! Love it! Tomorrow I will start to experiment with the WS2801 LED's ! Yippeee

Thanks mr. mc Abe. And thanks mc Things for the hardware SPI, much better!
« Last Edit: August 06, 2016, 05:03:57 am by rudydevolder »