Closed Harveyn4444 closed 3 years ago
DO connects to MISO and DI connects to MOSI
Yep literally fixed it straight away, sorry for being stupid :)
The exact same code doesn't work with my teensy 4.0, and this time is correctly wired up. I've just tried it on my teensy LC and it works, just not on my Teensy 4.0, nothings changed, just the board. Any ideas Thank you again
Time to start a forum thread. Please show a photo of the wiring when you post on the forum.
Description
Describe your problem. I have a breakout board containing a W25Q64 flash chip and have tried to run the raw hardware test.
Steps To Reproduce Problem
Please give detailed instructions needed for anyone to attempt to reproduce the problem. I have the breakout board (https://www.ebay.co.uk/itm/Flash-Storage-Module-W25Q64-64M-bit-SPI-Interface-For-1-PACK/323636815798) found here, with the Do and Di pins set to MOSI and MISO respectively and the example codes cannot read the chip, with the CS pin at 6.
Hardware & Software
Teensy LC (https://www.ebay.co.uk/itm/Flash-Storage-Module-W25Q64-64M-bit-SPI-Interface-For-1-PACK/323636815798) No idea. of the actual name Arduino IDE 1.8.13 Teensyduino version 1.53 Version info & package name (from Tools > Boards > Board Manager) macOS Big Sur version 11.1
Arduino Sketch