diff options
| author | Your Name <you@example.com> | 2026-05-18 16:29:13 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-18 16:29:13 +0530 |
| commit | 02d699d22989fd8bda091b00657d0dd1b7406247 (patch) | |
| tree | b6308eb362d034eb55cc7a5cb008e4eb1c27b5e7 /components/nucula_lib/nucula_wallet.cpp | |
| parent | bf0f22dc7510eb6d098ae2205dae008f858d8195 (diff) | |
fix: convert AXS15231B driver from SPI to QSPI
The JC3248W535 uses Quad SPI with 4 data lines (D0-D3), not standard
SPI. The previous driver only wired D0 (MOSI), causing garbled pixel
data while register writes (single SPI) worked partially.
Changes:
- Wire all 4 data pins in spi_bus_config_t (data0-data3)
- Set SPI_DEVICE_HALFDUPLEX for QSPI output mode
- Send pixel data with SPI_TRANS_MODE_QIO flag for 4-bit parallel transfer
- Register writes (init, CASET, RASET, RAMWR cmd) remain single SPI
Diffstat (limited to 'components/nucula_lib/nucula_wallet.cpp')
0 files changed, 0 insertions, 0 deletions