board: add JC3248W535EN (ESP32-S3, AXS15231B QSPI 320x480)#266
Open
yaconsult wants to merge 1 commit into
Open
board: add JC3248W535EN (ESP32-S3, AXS15231B QSPI 320x480)#266yaconsult wants to merge 1 commit into
yaconsult wants to merge 1 commit into
Conversation
Add board configuration for the Jingcai JC3248W535EN development board: - ESP32-S3 with 16 MB flash, 8 MB Octal PSRAM - 3.2" 320x480 IPS display, AXS15231B controller, QSPI @ 20 MHz - Capacitive touch via AXS15231B I2C (SCL=GPIO8, SDA=GPIO4, addr=0x3B) Key fixes vs default AXS15231B config: - Vendor init sequence from official esp_bsp.c (default sequence includes ALL_PIXELS_OFF command 0x22 which corrupts the display) - Init sequence must end with RAMWR (0x2C), not DISPLAY_ON (0x29) - QSPI clock reduced to 20 MHz (40 MHz also works but gives no fps gain; CPU is the bottleneck in draw_bitmap, not bus bandwidth) - Touch pins: SCL=GPIO8, SDA=GPIO4 (corrected from library defaults)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds board configuration for the Jingcai JC3248W535EN development board.
Hardware
Key fixes vs default AXS15231B configuration
Vendor init sequence is mandatory.
The default library init sequence includes command
0x22(ALL_PIXELS_OFF) which results in a blank or corrupted display. This PR uses the full init sequence from the vendor's official Arduino demo (esp_bsp.c). The sequence must end with0x2C(RAMWR), not0x29(DISPLAY_ON).QSPI clock at 20 MHz.
The QSPI pins on this board route through the ESP32-S3 GPIO matrix. 40 MHz is electrically stable but provides no fps improvement (CPU is the bottleneck in draw_bitmap, not bus bandwidth), so 20 MHz is used for margin.
Touch pin correction.
SCL=GPIO8, SDA=GPIO4 (corrected from library defaults).
Testing
Tested with MicroPython firmware on the physical board. Display initialises correctly, touch reports coordinates, full-frame RGB565 updates work.