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.
Table 6-3. GPIO Assigned Pins Function(1)
Pin NameFunction Assigned
P0_0External codec reset
P0_1Forward (FWD) button
P0_2Play or Pause (PLAY/PAUSE) button
P0_3Reverse (REV) button
P0_5Volume decrease (VOL_DN) button
P0_6Available for user configuration
P0_7Available for user configuration
P1_2I2C SCL (muxed with 2-wire CPU debug data)
P1_3I2C SDA (muxed with 2-wire CPU debug clock)
P1_6PWM
P2_3Available for user configuration
P2_6Available for user configuration
P2_7Volume increase (VOL_UP) button
P3_2Line-In detect
P3_4SYS_CFG (muxed with UART_RTS)(2)
P3_7UART_CTS
P8_5UART_TXD(3)(4)
P8_6UART_RXD(3)(4)
MFBMFB
Note:
  1. This table reflects the default IO assignment for the turn-key solution. The GPIOs are user configurable.
  2. 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.
  3. Microchip recommends to reserve UART port (P8_5 and P8_6) for Flash download in Test mode during production.
  4. Currently, GPIOs ports P8_5 and P8_6 APIs (button detect driver) are not implemented.