AMWxx6 Numbat Module GPIOs and Peripherals
Peripherals and GPIOs are the same for the AMW006, AMW106, AMW036 and AMW136 platforms. These are referred to collectively as AMWxx6. AMW036 and AMW136 are referred to collectively as AMWx36.
See also:
- Module details: AMW006, AMW106, AMW036, AMW136
- Eval Board details: AMW006-E03 Moray, AMW106-E03 Moray, AMWx36-E03 Mola
- AMW106 ZentriOS-WZ SDK support
- Controlling GPIOs and Peripherals
- Device Memory
- Zentri Module Comparison
Functions and Pins
Moray or Mola Evaluation Board
The table below shows functions, defaults and pins for the AMW006 / AMW106 / AMW036 / AMW136 Numbat GPIOs. The table also shows connections and header pins for the AMWx06-E03 Moray and AMWx36-E03 Mola evaluation boards.
Note: header and pin numbering is different for different versions of the Moray AMW106-E03.
Numbat AMWx06 | Moray/Mola AMWxx6-E03 | E03.2 | E03.3 | AMWx06-E03.4, AMWx36-E03.1 | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GPIO | Available Functions | Default Function | ADC | PWM | Wake | Pin | Alias | Connections | Header-Pin | Header-Pin | Header-Pin |
GPIO0 | spi1.mosi | Standard I/O, factory reset | 4 | button1 | Button 1 | H6-4 | H3-4, H9-29 | H3-3, H9-29 | |||
GPIO1 | none | 5 | |||||||||
GPIO2 | spi1.clk* | none | 6 | ||||||||
GPIO3 | spi1.cs* | none | 7 | ||||||||
GPIO4 | none | N/A | 8 | ||||||||
GPIO5 | spi1.mosi* | system.indicator.gpio softap | pwm5 | 13 | softap_led | LED R (Red) | H8-13 | H8-13, H9-27 | H8-2, H9-27 | ||
GPIO6 | spi0.miso not available for digital I/O | spi0.miso | adc6 | 14 | H8-14 | H8-14 | H8-3 | ||||
GPIO7 | spi0.clk not available for digital I/O | spi0.clk | adc5 | 15 | H8-15 | H8-15 | H8-4 | ||||
GPIO8 | spi0.mosi not available for digital I/O | spi0.mosi | adc7 | 16 | H8-16 | H8-16 | H8-5 | ||||
GPIO9 | uart0.rts | none | 17 | H4-3, H8-17 | H5-1, H8-17, H9-25 | H5-1, H8-6, H9-25 | |||||
GPIO10 | uart0.cts | none | pwm0 | 18 | H4-4, H8-18 | H5-7, H8-18, H9-23 | H5-7, H8-7, H9-23 | ||||
GPIO11 | uart0.rx | uart0.rx | pwm0 | 19 | H4-2, H8-19 | H5-3, H8-19, H9-21 | H5-3, H8-8, H9-21 | ||||
GPIO12 | uart0.tx | uart0.tx | pwm0 | 20 | H4-1, H8-20 | H5-5, H8-20, H9-19 | H5-5, H8-9, H9-19 | ||||
GPIO13 | Standard I/O | pwm1 | 21 | led2 | User LED2 | H8-21 | H5-4, H8-21, H9-17 | H5-4, H8-10, H9-17 | |||
GPIO14 | I2C_SCL | none | pwm3 | 22 | H8-22 | H8-22, H9-15 | H8-11, H9-15 | ||||
GPIO15 | I2C_SDA | none | pwm3 | 23 | H8-23 | H8-23, H9-13 | H8-12, H9-13 | ||||
GPIO16 | Standard I/O | pwm6 | 24 | led1 | User LED1 | H8-24 | H5-2, H8-24, H9-11 | H5-2, H8-13, H9-11 | |||
GPIO17 | uart1.rx | SPI CLK | adc3 | pwm4 | 25 | H8-25 | H8-25 | H8-14 | |||
GPIO18 | system.indicator.gpio network | 28 | network_led | LED Y (Yellow) | H7-28 | H2-28, H9-9 | H2-9, H9-9 | ||||
GPIO19 | uart1.tx | SPI MISO | adc2 | pwm4 | 29 | H7-29 | H2-29 | H2-8 | |||
GPIO20 | none | adc9 | pwm2 | 30 | Thermistor | H7-30 | H2-30, H9-7 | H2-7, H9-7 | |||
GPIO21 | none | adc8 | pwm2 | 31 | H7-31 | H2-31 | H2-6 | ||||
GPIO22 | uart1.cts | Standard I/O, wake, web setup | adc0 | pwm1 | wake | 32 | button2 | Button 2 | H7-32 | H2-32, H9-5 | H2-5, H9-5 |
GPIO23 | uart1.rts | system.indicator.gpio wlan | adc1 | pwm4 | 33 | wlan_led | LED G (Green) | H7-33 | H2-33, H9-3 | H2-4, H9-3 |
- Numbat V4+ only
Note: The Alias column shows aliases used either in the schematic, or in the gpio_config_init.csv
file provided with the Moray Numbat module.
See Configuration and Setup, GPIO Configuration.
Moray reset pin
E03.2
- H7-34
E03.3
- H2-34, H9-1
E03.4
- H2-3, H9-1
Moray power header pins
E03.2
- GND: H6-2, H6-11, H7-27, H7-36, H8-12, H8-26
- VDD: H6-3, H6-10, H7-35
E03.3
- GND: H3-2, H3-11, H2-27, H2-36, H5-9, H5-10, H5-13, H5-14, H8-12, H8-26
- VDD: H3-3, H3-10, H2-35, H5-11, H5-12
E03.4
- GND: H3-1, H3-10, H2-27, H2-36, H5-9, H5-10, H5-13, H5-14, H8-1, H8-15
- VDD: H3-2, H3-9, H2-2, H5-11, H5-12
Default Moray GPIO Usage
The default Moray GPIO usage shown in response to the command get gpio.usage
is:
> get gp u
! # Description
# 0 GPIO input_highz (button1)
# 5 system.indicator.softap (softap_led)
# 6 SPI MISO
# 7 SPI CLK
# 8 SPI MOSI
# 11 UART0 RX
# 12 UART0 TX
# 13 GPIO output (led2)
# 16 GPIO output (led1)
# 18 system.indicator.network (network_led)
# 22 Standard I/O (button2)
# 23 system.indicator.wlan (wlan_led)
See the gpio.usage variable documentation.
Marlin/Hopper Evaluation Board
The table below shows functions, defaults and pins for the AMW006 / AMW106 Numbat GPIOs. The table also shows defaults, connections and header pins for the AMW006-E02.4/AMW006-A01.3 Marlin/Hopper evaluation board configuration.
Numbat AMW006 | Marlin/Hopper AMW006-E02.4/AMW006-A01.3 | ||||||||
---|---|---|---|---|---|---|---|---|---|
GPIO | Available Functions | Default Function | ADC | PWM | Wake | Pin | Alias | Connections on Marlin | Marlin Header Pin |
GPIO0 | spi1.mosi | Standard I/O, factory reset | 4 | button1 | Button 1 | H5-13 | |||
GPIO1 | none | 5 | |||||||
GPIO2 | spi1.clk* | none | 6 | H5-18 | |||||
GPIO3 | spi1.cs* | none | 7 | H5-17 | |||||
GPIO4 | none | N/A | 8 | ||||||
GPIO5 | spi1.mosi* | none | pwm5 | 13 | H5-11 | ||||
GPIO6 | spi0.miso not available for digital I/O | spi0.miso | adc6 | 14 | SPI MISO | ||||
GPIO7 | spi0.clk not available for digital I/O | spi0.clk | adc5 | 15 | SPI CLK | ||||
GPIO8 | spi0.mosi not available for digital I/O | spi0.mosi | adc7 | 16 | SPI MOSI | ||||
GPIO9 | uart0.rts | none | 17 | H5-16 | |||||
GPIO10 | uart0.cts | none | pwm0 | 18 | H5-12 | ||||
GPIO11 | uart0.rx | uart0.rx | pwm0 | 19 | UART_RX | H2-3 | |||
GPIO12 | uart0.tx | uart0.tx | pwm0 | 20 | UART_TX | H2-2 | |||
GPIO13 | system.indicator.gpio network | pwm1 | 21 | network_led | LED Y (Yellow) | ||||
GPIO14 | I2C_SCL | SPI_SCK | pwm3 | 22 | H5-19 | ||||
GPIO15 | I2C_SDA | SPI_CS | pwm3 | 23 | H5-20 | ||||
GPIO16 | system.indicator.gpio softap | 24 | softap_led | LED R (Red) | |||||
GPIO17 | none | adc3 | pwm4 | 25 | UART1_RX | H2-8 | |||
GPIO18 | system.indicator.gpio wlan | 28 | wlan_led | LED G (Green) | |||||
GPIO19 | uart1.tx | adc2 | pwm4 | 29 | UART1_TX | Thermistor | H2-9 | ||
GPIO20 | none | adc9 | pwm2 | 30 | H2-4 | ||||
GPIO21 | none | adc8 | pwm2 | 31 | User LED1 | H5-15 | |||
GPIO22 | uart1.cts | Standard I/O, wake, web setup | adc0 | pwm1 | wake | 32 | button2 | Button 2 | H2-6 |
GPIO23 | uart1.rts | none | adc1 | pwm4 | 33 | User LED 2 | H2-7 |
- Numbat V4+ only
Note: The Alias column shows aliases used, either in the schematic, or in the gpio_config_init.csv
file provided with the Hopper Numbat module.
See Configuration and Setup, GPIO Configuration.
Marlin power header pins:
- GND: H2-10
- VDD: H2-1
Marlin reset header pin:
- RESET_N: H2-5
Default Marlin/Hopper GPIO Usage
The default Marlin/Hopper GPIO usage shown in response to the command get gpio.usage
is:
> get gp u
! # Description
# 6 SPI0 MISO
# 7 SPI0 CLK
# 8 SPI0 MOSI
# 11 UART0 RX
# 12 UART0 TX
# 13 system.indicator.network (network_led)
# 16 system.indicator.softap (softap_led)
# 18 system.indicator.wlan (wlan_led)
See the gpio.usage variable documentation.
Numbat PWMs
Number of independent PWMs (groups) | 7 |
---|---|
Minimum PWM frequency | 1Hz |
Maximum frequency | 21MHz |
Default PWM frequency | 1KHz |
Numbat PWM Group ID | GPIOs |
---|---|
pwm0 | 10, 11, 12 |
pwm1 | 13, 22 |
pwm2 | 20, 21 |
pwm3 | 14, 15 |
pwm4 | 17, 19, 23 |
pwm5 | 5 |
pwm6 | 16 |
GPIOs by Function
Numbat UART
Name | GPIO |
---|---|
uart0.tx | 12 |
uart0.rx | 11 |
uart0.cts | 10 |
uart0.rts | 9 |
uart1.tx | 19 |
uart1.rx | 17 |
uart1.cts | 22 |
uart1.rts | 23 |
Numbat ADC
Name | GPIO |
---|---|
adc0 | 22 |
adc1 | 23 |
adc2 | 19 |
adc3 | 17 |
adc4 | N/A |
adc5 | 7 |
adc6 | 6 |
adc7 | 8 |
adc8 | 21 |
adc9 | 20 |
Numbat PWM
Name | GPIOs |
---|---|
pwm0 | 10, 11, 12 |
pwm1 | 13, 22 |
pwm2 | 20, 21 |
pwm3 | 14, 15 |
pwm4 | 17, 19, 23 |
pwm5 | 5 |
pwm6 | 16 |
Numbat SPI Master
Name | GPIO |
---|---|
spi0.clk | 7 |
spi0.mosi | 8 |
spi0.miso | 6 |
Numbat SPI Slave
Name | GPIO |
---|---|
spi1.clk | 2 |
spi1.mosi | 5 |
spi1.miso | 0 |
spi1.cs | 3 |
spi1.irq | optional |
spi1.rdy | optional |
Numbat I2C
Name | GPIO |
---|---|
I2C_SCL | 14 |
I2C_SDA | 15 |