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


  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • mc-Things
Re: SPI problems
« on: August 04, 2016, 01:00:35 pm »
The bursts of clock you see on other examples is due to delay between every byte transmitted by the processor. We have taken measures to ensure no delay between each byte to maximize the SPI throughput and minimize power consumption.

I believe there is an issue with your code. Could you share your code. Here is sample code I ran and what my Logic Analyzer is outputting. It is exactly as I would expect it. I am not sure where things are going wrong for you.

Code: [Select]
Class test
    Shared dev As Spi
    Shared Event Boot()
        dev = Spi.Create(1000000, 1, Pin.Pin6, Pin.Pin5, Pin.Pin4, Pin.Pin3)
    End Event
    Shared Event Try() RaiseEvent Every 100 milliSeconds
        Dim payload As ListOfByte = New ListOfByte
    End Event
End Class