Hi, I'm new to using Teensy boards and I'm having issues with using Teensy 3.6 as an SPI slave.
I'm using an STM32 as Master and have checked SPI output with a logic analyser to make sure I'm sending the correct data (it's a simple string) and it's working fine.
The problem I have is that although data is being output on the serial monitor for the Teensy board, it only outputs 255.
I'm using the TSPISlave library found here:
https://github.com/tonton81/TSPISlave
I have checked the wiring (MOSI, SCK and CS (I'm not using MISO)) and they're all correct and I have a common ground for the two boards.
For me, it looks like the serial monitor is just displaying the clock.
Any help would really be apprciated.
I'm using an STM32 as Master and have checked SPI output with a logic analyser to make sure I'm sending the correct data (it's a simple string) and it's working fine.
The problem I have is that although data is being output on the serial monitor for the Teensy board, it only outputs 255.
I'm using the TSPISlave library found here:
https://github.com/tonton81/TSPISlave
I have checked the wiring (MOSI, SCK and CS (I'm not using MISO)) and they're all correct and I have a common ground for the two boards.
For me, it looks like the serial monitor is just displaying the clock.
Any help would really be apprciated.
Last edited: