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

Since pr #9490 picodvi doesn't work for the pico rp2040 #9628

Open
RetiredWizard opened this issue Sep 15, 2024 · 0 comments
Open

Since pr #9490 picodvi doesn't work for the pico rp2040 #9628

RetiredWizard opened this issue Sep 15, 2024 · 0 comments
Assignees
Labels
bug displayio rp2040 Raspberry Pi RP2040
Milestone

Comments

@RetiredWizard
Copy link

CircuitPython version

All builds after (and including) the merge of pr #9490 (except any 9.1.X) don't work
Adafruit CircuitPython 9.2.0-alpha.2351-35-g64cb76213f on 2024-09-13; Pimoroni Pico dv Base with rp2040
Adafruit CircuitPython 9.1.0-20-g060018be7b on 2024-08-08; Raspberry Pi Pico with rp2040

Code/REPL

# For DVI Sock

import board
import picodvi
import displayio
import framebufferio
displayio.release_displays()

fb = picodvi.Framebuffer(320,240,clk_dp=board.GP14, clk_dn=board.GP15,red_dp=board.GP12, 
red_dn=board.GP13,green_dp=board.GP18, green_dn=board.GP19,blue_dp=board.GP16, 
blue_dn=board.GP17,color_depth=8)

display = framebufferio.FramebufferDisplay(fb)

Behavior

When testing the Pimoroni dv Base the DVI display is initialized by board.c when the board boots. For builds prior to 9490 the DVI output works normally, I also tested the software initialization from above (swapping in the appropriate GPIO pins) and that worked as well. After 9490 was merged neither the board.c initialization or the software display setup worked.

I also tested the Adafruit DV sock with a Pi Pico (RP2040) using the software initialization from above and it worked/failed on the same builds.

When the display didn't initialize there was no error, the screen simply didn't show any output.

Description

No response

Additional information

For the HDMI display I was using, I needed to jumper the Pico VBUS pin to the sock 5v pin in order to get any output even from the older builds. I suspect that was simply an issue with the TV I was using as a display.

@tannewt tannewt added the rp2040 Raspberry Pi RP2040 label Sep 16, 2024
@tannewt tannewt added this to the 9.2.0 milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug displayio rp2040 Raspberry Pi RP2040
Projects
None yet
Development

No branches or pull requests

2 participants