Bug report - *SPI Flash W25Q128 not working using SPI2 on STM32F103C8T6 (Blue Pill) or STM32F401CCU (Black Pill)* #209
Labels
possible bug
Possibly a bug. Needs verification before moving to *bug* status.
Describe the bug
When using the SPI Flash W25Q128 on the second SPI port of both the variants BluePill and BlackPill the code compiles but the chip is not recognized.
To Reproduce
I used the Arduino_Core_STM32 by stm32duino.
To make sure the frequency wasn't too high I changed the
"defines.h"
file of the librarySPIMemory
. I edited the frequency for non ESP32 boards:Also I had to define the
ARCH_STM32
flag that was used by the library but not set by the core.Answer on SPI 1:
Answer on SPI 2:
For some reason it didn't even print the "Check wiring." message...
Desktop (please complete the following information):
For Blue Pill:
For Black Pill:
Tried same cofigs on both Arduino IDE versions.
Board (please complete the following information):
Additional context
I would like to use both the LCD ST7920 and the SPI Flash W25Q128, each one in a separate SPI. I have heard that the ST7920 controller doesn't play nicely with other devices on the same bus.
I reached out to the Arduino_Core_STM32 people and they said that their implementation of the SPI2 works fine on both boards.
Any help would be really apreciated! Thank you!
The text was updated successfully, but these errors were encountered: