Data Sheet

MK02 Bluetooth Module
Datasheet
www.mokoblue.com
11
5. Interfaces
5.1 Power Supply
Regulated power for the MK02 is required. The input voltage VCC range should be 1.7V to 3.6V.
Suitable decoupling must be provided by external decoupling circuitry (10uF and 0.1uF). It can
reduce the noise from power supply and increase power stability.
5.2 System Function Interfaces
5.2.1 GPIO
The general purpose I/O is organized as one port with up to 30 I/Os enabling access and control of
up to 30 pins through one port. Each GPIO can be accessed individually with the following user
configurable features:
Input/output direction
Output drive strength
Internal pull-up and pull-down resistors
Wake-up from high or low level triggers on all pins
Trigger interrupt on all pins
All pins can be used by the PPI task/event system; the maximum number of pins that can be
interfaced through the PPI at the same time is limited by the number of GPIOTE channels
All pins can be individually configured to carry serial interface or quadrature demodulator
signals
All pins can be configured as PWM signal
5.2.2 Two-wire Interface (I
2
C Compatible)
The two-wire interface can communicate with a bi-directional wired-AND bus with two lines (SCL,
SDA). The protocol makes it possible to interconnect up to 127 individually addressable devices. The
interface is capable of clock stretching, supporting data rates of 100kbps ,250kbps and 400kbps. The
module has 2 TWI ports and they properties like following table.
Instance
Master/Slave
TWI 0
Master
TWI 1
Master