I'm trying to use Teensy 3.0's both as a master and a slave in an SPI setup. However, trying to use the example sketches provided with the library, I haven't been successful at getting the Teensy to send out any signal recognizable by SPI. After fixing a small compile-time error in the example (changing CTAR0 to CTAR_0 in two places), the signals look like this:
(Pictured above is a single transmission. This happens every 2 seconds--as instructed by the example code--before all pins go HIGH or LOW for the remainder of the 2 seconds.)
As you can see, none of the pins do what they are supposed to: clock is not periodic, ENABLE doesn't go low. This is not a problem with the Teensy, because I have run Nick Gammon's SPI example master code and seen this (on the same Teensy):
I started with Arduino 1.6.5 and Teensyduino 1.24, but suspected that my software version might be the problem. Now I'm running Arduino 1.0.6 and Teensyduino 1.20. I am using a Teensy 3.0 (black) and the default output pins.
Does anyone have experience in t3spi that could help me with this?
(Pictured above is a single transmission. This happens every 2 seconds--as instructed by the example code--before all pins go HIGH or LOW for the remainder of the 2 seconds.)
As you can see, none of the pins do what they are supposed to: clock is not periodic, ENABLE doesn't go low. This is not a problem with the Teensy, because I have run Nick Gammon's SPI example master code and seen this (on the same Teensy):
I started with Arduino 1.6.5 and Teensyduino 1.24, but suspected that my software version might be the problem. Now I'm running Arduino 1.0.6 and Teensyduino 1.20. I am using a Teensy 3.0 (black) and the default output pins.
Does anyone have experience in t3spi that could help me with this?