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

M5Stack CoreS3 with ESP32S3 Camera Not Work #9155

Open
tonyhuang1962 opened this issue Apr 8, 2024 · 4 comments
Open

M5Stack CoreS3 with ESP32S3 Camera Not Work #9155

tonyhuang1962 opened this issue Apr 8, 2024 · 4 comments
Milestone

Comments

@tonyhuang1962
Copy link

CircuitPython version

Adafruit CircuitPython 9.1.0-beta.0 on 2024-03-28; M5Stack CoreS3 with ESP32S3

Code/REPL

import board
import espcamera

cam = espcamera.Camera(
    data_pins=board.CAMERA_DATA,
    external_clock_pin=board.CAMERA_XCLK,
    pixel_clock_pin=board.CAMERA_PCLK,
    vsync_pin=board.CAMERA_VSYNC,
    href_pin=board.CAMERA_HREF,
    pixel_format=espcamera.PixelFormat.JPEG,
    frame_size=espcamera.FrameSize.QQVGA,
    i2c=board.I2C(),
    external_clock_frequency=20_000_000,
 #   grab_mode=espcamera.GrabMode.WHEN_EMPTY
)

Behavior

Traceback (most recent call last):
File "", line 12, in
espidf.IDFError: Requested resource not found

Description

M5Stack CoreS3 IoT has a 30W pixel camera GC0308 at the bottom of the screen. But seems not work if using the above code. Got 'espidf.IDFError: Requested resource not found' error.

Additional information

No response

@tannewt
Copy link
Member

tannewt commented Apr 8, 2024

Does it work with 9.0.3?

@tannewt tannewt added this to the 9.x.x milestone Apr 8, 2024
@tonyhuang1962
Copy link
Author

I could not find 9.0.3 on the web. I tried latest 'Adafruit CircuitPython 9.1.0-beta.0-18-gf4dfd5f119 on 2024-04-08; M5Stack CoreS3 with ESP32S3', got the same error 'espidf.IDFError: Requested resource not found'.

@dhalbert
Copy link
Collaborator

dhalbert commented Apr 9, 2024

This board was added recently, only to main, so there is no 9.0.x release for it.

@tonyhuang1962
Copy link
Author

tonyhuang1962 commented Apr 19, 2024

I added 'CONFIG_GC0308_SUPPORT=y' in sdkconfig to try to enable GC0308 support. But still got 'espidf.IDFError: Requested resource not found' error. (Adafruit CircuitPython 9.1.0-beta.0-26-gc978768d37-dirty on 2024-04-18; M5Stack CoreS3 with ESP32S3)

I took the following as reference:
#8883
#8901

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

No branches or pull requests

3 participants