6.4 General Purpose I/O Pins
The BM83 module provides up to 18 GPIOs that can be configured by using the Config Tool. The following table provides the default I/O functions of the BM83 module.
Note: The MFB pin must be configured as the
power On/Off key and the remaining pins are user configurable pins.
Pin Name | Function Assigned |
---|---|
P0_0 | External codec reset |
P0_1 | Forward (FWD) button |
P0_2 | Play or Pause (PLAY/PAUSE) button |
P0_3 | Reverse (REV) button |
P0_5 | Volume decrease (VOL_DN) button |
P0_6 | Available for user configuration |
P0_7 | Available for user configuration |
P1_2 | I2C SCL (muxed with 2-wire CPU debug data) |
P1_3 | I2C SDA (muxed with 2-wire CPU debug clock) |
P1_6 | PWM |
P2_3 | Available for user configuration |
P2_6 | Available for user configuration |
P2_7 | Volume increase (VOL_UP) button |
P3_2 | Line-In detect |
P3_4 | SYS_CFG (muxed with UART_RTS)(2) |
P3_7 | UART_CTS |
P8_5 | UART_TXD(3)(4) |
P8_6 | UART_RXD(3)(4) |
MFB | MFB |
Note:
- This table reflects the default IO assignment for the turn-key solution. The GPIOs are user configurable.
- GPIO P3_4 is used to enter Test mode during reset. If the user wants to use this pin to control external peripherals, care must be taken to ensure this pin is not pulled LOW and accidentally enters Test mode.
- Microchip recommends to reserve UART port (P8_5 and P8_6) for Flash download in Test mode during production.
- Currently, GPIOs ports P8_5 and P8_6 APIs (button detect driver) are not implemented.