Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Board #16

Open
SebSam96 opened this issue Aug 18, 2023 · 18 comments
Open

Wrong Board #16

SebSam96 opened this issue Aug 18, 2023 · 18 comments

Comments

@SebSam96
Copy link

Hello, first of all congratulations for the work done. Everything very detailed and very clear.
However I have to ask you something. I mistakenly bought the wrong board, didn't read "(get the 2MB PSRAM version)" and bought the "Feather ESP32S3 No PSRAM" version. I tried to load it anyway, everything ok but when I try to power the board it makes 2 screens and then total darkness.
Is there a way to fix it somehow or did I just throw away the board?

BOOT_OUT:
Adafruit CircuitPython 8.2.3 on 2023-08-11; Adafruit Feather ESP32S3 No PSRAM with ESP32S3
Board ID:adafruit_feather_esp32s3_nopsram
UID:CD45570D0D8D

Thank you

@Breazile
Copy link
Owner

Can you download the Mu editor (instructions here - https://learn.adafruit.com/welcome-to-circuitpython/installing-mu-editor ) and then open code.py from your board while it is attached to your computer? It takes a while to launch the first time.

Once you have it open click on the Serial icon (at the top) and then click Save. This will run the code on your board and give you any error messages in the serial window at the bottom. Copy/paste that error, and we should have a better idea of what is going on. Sorry, I do not have one of those boards to try it myself.

image

@SebSam96
Copy link
Author

image

@Breazile
Copy link
Owner

Seems like it should be working. What display are you using?

@SebSam96
Copy link
Author

77E634C9-0613-491F-845B-556A7D700463

@Breazile
Copy link
Owner

Can you show me how the wiring looks? We should check that next.

@Breazile
Copy link
Owner

Your board still has 512K of regular RAM, and it seems to be working fine (other boards do not have PSRAM), so let's troubleshoot your display connection next

@SebSam96
Copy link
Author

I connected the cables as in the first photo "beskar" or lcd - esp32s3.
I checked the Troubleshooting section where you say to delete battery and upload the original code (I used your zip without changing anything). I put the board back in boot and reloaded phyton latest downloadable version.
I do not know what to do..
The two screens that I see initial, then disappear look like this. Also after a few seconds the black screen flashes with a lighter black as if it was still going on with the images in a loop
image

@Breazile
Copy link
Owner

Can you send me the code.py that is on your board? I'll try that on my board

@SebSam96
Copy link
Author

I unzipped your file (ESP32-S3Beskar.zip). I have not modified the code.py file in any way. Can we hear each other on instagram or whatsapp to be a little faster?
Thank you very much for your patience and availability

@Breazile
Copy link
Owner

I can do Whatsapp if that helps. What time zone are you in? I'm in GMT-7 (Pacific Time) near Seattle, Washington

@Breazile
Copy link
Owner

We just have to go through the troubleshooting steps. Turns out I'm not using the PSRAM at all, so the board you are using should be working just fine. I can try the CircuitPython version you have on my board to see if there's a problem with that newer version

@SebSam96
Copy link
Author

I wrote you on instagram

@SebSam96
Copy link
Author

if you prefer I can write you on whatsapp, if you send me the number. I sent you a video of the error on instagram

@Breazile
Copy link
Owner

Left a message on Instagram. If you need another display here are some alternates that work in case Adafruit ones are hard to get

https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/1.54inch-lcd-module.htm
https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/1.3inch-lcd-module.htm

@SebSam96
Copy link
Author

I wrote you on instagram

@Breazile
Copy link
Owner

There are 2 settings you can change (that display might need it to be different). Polarity and phase. Look in the code for this line:

display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, baudrate=SPI_SPEED, reset=lcd_rst, polarity=0, phase=0)

Try polarity=1, and if that does not work, try phase=1. In total, there are 4 configurations for you to try:

Polarity=0, phase=0 (not working)
Polarity=1, phase=0
Polarity=0, phase=1
Polarity=1, phase=1

@SebSam96
Copy link
Author

Thanks a lot, I fixed it. I entered "Polarity=1, phase=1" and it works perfectly. You have been super nice and very helpful. Thank you so very much

@Breazile
Copy link
Owner

Glad it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants