WM8960-Audio-HAT icon indicating copy to clipboard operation
WM8960-Audio-HAT copied to clipboard

Any way for WM8960 Hat to work with iUniker 2.8" 640x480 touchscreen?

Open Barkfin opened this issue 5 years ago • 0 comments

The 2.8" MZDPI-VGA-ZERO touchscreen uses these pins on Raspberry Pi: 1 - 3V3 2 - 5V0 3 - GPIO2 - VSYNC (Vertical synch for Display DATA) 4 - 5V0 5 - GPIO3 - HSYNC (Horizontal synch for Display DATA) 6 - GND 7 - GPIO4 - B3 (BLUE signal 3) 8 - GPIO14 - G4 (GREEN signal 4) 9 - GND 10 - GPIO15 - G5 (GREEN signal 5) 11 - GPIO17 - G7 (GREEN signal 7) 12 - GPIO18 - NC 13 - GPIO27 - TP-INT (touch int signal) 14 - GND 15 - GPIO22 - R5 (RED signal 5) 16 - GPIO23 - R6 (RED signal 6) 17 - 3V3 18 - GPIO24 - R7 (RED signal 7) 19 - GPIO10 - SPI-MOSI (SPI master output slave input) 20 - GND 21 - GPIO9 - SPI-MISO (SPI master input slave output) 22 - GPIO25 - NC 23 - GPIO11 -SPI-SCLK (SPI clock) 24 - GPIO8 - B7 (BLUE signal 7) 25 - GND 26 - GPIO7 - B6 (BLUE signal 6) 27 - GPIO0 - DE (Enable signal for Display) 28 - GPIO1 - PCLK (Clock signal for Display Data) 29 - GPIO5 - B4 (BLUE signal 4) 30 - GND 31 - GPIO6 - B5 (BLUE signal 5) 32 - GPIO12 - G2 (GREEN signal 2) 33 - GPIO13 - G3 (GREEN signal 3) 34 - GND 35 - GPIO19 - NC 36 - GPIO16 - G6 (GREEN signal 6) 37 - GPIO26 - NC 38 - GPIO20 - R3 (RED signal 3) 39 - GND 40 - GPIO21 - R4 (RED signal 4)

The Waveshare WM8960 Hat uses these pins: 2 - 5V0 3 - GPIO2 - SDA (I2C Data input) 5 - GPIO3 - SCL (I2C Clock input) 6 - GND 11 - GPIO17 - BUTTON (Configurable) 12 - GPIO18 - CLK (I2S Bit clock input) 35 - GPIO19 - LRCLK (I2S Frame clock input) 38 - GPIO20 - ADC (I2S Data input) 40 - GPIO21 - DAC (I2S Data output)

It looks like interference happens on pins 3, 5, 11, 38, and 40.

Question 1: any way to re-jig the pin assignment so as to correct the interference? Question 2: if it is possible, is it straightforward to update one or the other board driver to reflect the new pins?

THANKS for humoring me, I don't know much about Raspberry Pi and I have these two hats (one is a really slick little touchscreen display, the other is a fantastic little audio amplifier). I got them to work individually, it would be nice if there was a way for them to work together at the same time.

MZDPI-VGA-ZERO Pins.xls 2.8 inch Screen User Guide 190320.pdf

Barkfin avatar Apr 08 '21 04:04 Barkfin