AMW004 Wallaby Module GPIOs and Peripherals

See also:

Functions and Pins

Mackerel Evaluation Board

The table below shows functions, defaults and pins for the AMW004 Wallaby GPIOs. The table also shows connections and header pins for the AMW004-E03 Mackerel evaluation board.

Note: header and pin numbering is different for different versions of the Mackerel AMW004-E03.

Wallaby AMW004Mackerel
AMW004-E03.3
E03.3, E03.4E03.5
GPIOAvailable FunctionsDefault FunctionADCPWMWakePinConnectionsHeader-PinHeader-Pin
GPIO0dac0Standard I/O, factory resetpwm37Button 1H1-4H1-4, H9-29
GPIO1system.indicator.gpio wlan8LED G (Green)H1-3H1-3, H9-3
GPIO2system.indicator.gpio network9LED Y (Yellow)H1-6H1-6, H9-9
GPIO3noneadc4wake11H1-8H1-8
GPIO4noneadc512H1-7H1-7
GPIO5system.indicator.gpio softappwm0wake13LED R (Red)H1-10H1-10, H9-27
GPIO6nonepwm1wake14H1-9H1-9
GPIO7noneadc0pwm315ThermistorH1-12H1-12, H9-7
GPIO8noneadc117H1-11H1-11
GPIO9noneadc2pwm0wake18H1-14H1-14
GPIO10nonepwm3wake19H1-13H1-13
GPIO11Standard I/O, wake,
web setup (see Web Setup Note)
pwm2wake20Button 2H1-16H1-16, H9-5
GPIO12noneadc3pwm1wake21H1-15H1-15
GPIO13uart1.rxuart1.rxadc623H4-2H5-3, H2-17, H9-21
GPIO14uart1.txuart1.txadc724H4-1H5-5, H2-18, H9-19
GPIO15uart1.rtsnonepwm126H4-3H5-1, H2-15, H9-25
GPIO16uart1.ctsnonepwm227H4-4H5-7, H2-16, H9-23
GPIO17spi0.clk
not available for digital I/O
spi0.clkwake30H2-13H2-13
GPIO18spi0.mosi
not available for digital I/O
spi0.mosi31H2-14H2-14
GPIO19spi0.miso
not available for digital I/O
spi0.miso32H2-11H2-11
GPIO20nonepwm0wake33H2-12H2-12
GPIO21Standard I/Oadc8pwm034User LED2H2-9H2-9, H9-17
GPIO22Standard I/Oadc935User LED1H2-10H2-10, H9-11
GPIO23none36H2-7H2-7
GPIO24nonewake37H2-8H2-8
GPIO25uart0.txnone38H2-5H2-5
GPIO26uart0.rxnonewake39H2-6H2-6
GPIO27I2C_SCLnonewake41H2-3H2-3, H9-15
GPIO28I2C_SDAnone42H2-4H2-4, H9-13

Mackerel reset header pins

E03.3, E03.4

E03.5

Mackerel power header pins

E03.3, E03.4

E03.5

Default Mackerel GPIO Usage

The default Mackerel GPIO usage shown in response to the command get gpio.usage is:

get  gp u
!  # Description
#  0 GPIO input_highz
#  1 system.indicator.wlan
#  2 system.indicator.network
#  5 system.indicator.softap
# 11 setup.control_gpio
# 13 UART1 RX
# 14 UART1 TX
# 17 SPI0 CLK
# 18 SPI0 MOSI
# 19 SPI0 MISO
# 21 GPIO output
# 22 GPIO output

See the gpio.usage variable documentation.

Wallaby PWMs

Number of independent PWMs (groups)4
minimum PWM frequency5Hz
Maximum frequency1.2MHz
PWM Group IDGPIOs
pwm05, 9, 20, 22
pwm16, 12, 15
pwm211, 16
pwm30, 7, 10

GPIOs by Function

Wallaby UART

NameGPIO
uart0.tx25
uart0.rx26
uart0.ctsN/A
uart0.rtsN/A
uart1.tx14
uart1.rx13
uart1.cts16
uart1.rts15

Wallaby ADC

NameGPIO
adc07
adc18
adc29
adc312
adc43
adc54
adc613
adc714
adc821
adc922

Wallaby PWM

NameGPIOs
pwm05, 9, 20, 21
pwm16, 12, 15
pwm211, 16
pwm30, 7, 10

Wallaby SPI Master

NameGPIO
spi0.clk17
spi0.mosi18
spi0.miso19

Wallaby DAC

NameGPIO
dac00

Wallaby I2C

NameGPIO
I2C_SCL27
I2C_SDA28