W25Q64JV SPI Flash weird behavior #2102
Kaitoukid93
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I made a custom rp2040 board using w25q64jvssiq spi flash and everything worked well.
The code is simple, listen to the serial port command(TinyUSB CDC) and color the Neopixel LED ( using neopixel8 library).
After few minutes from booting, I try to open serialport to send command and arduino serial port can not open the port, further debug( using simple c# app) show:
"the device attached to system is not functioning". The neopixel strip still running color effects, just the usb cdc did not work. Sometimes reset the port ( using usb tree view) wake up the board, sometimes not. I have to re-power the board several times to be able to open the comport
At first I think my sketch block the usb function, then I try to upload blank sketch with adafruit tinyusb include( just to show the comport) and same thing happened, the port is unable to open after a while.
I try to reproduce with pi-pico board but never got this behavior.
So I change the boot2 options to generic spi/4 and yup, the problem is gone
Does anyone with the same spi flash got this issue? I need to know is this a software bug or my bad pcb design
Thanks
Beta Was this translation helpful? Give feedback.
All reactions