Melody 5.7 Manual


Add to my manuals
83 Pages

advertisement

Melody 5.7 Manual | Manualzz

Melody 6.0.39

Melody 6.0.39

PIO functionalities

PIOs have a different behaviour if GPIO control is enabled or disabled in the parameter GPIO_CONFIG.

1. GPIO control enabled

By default, GPIO control is enabled. It allows the module to work autonomously without the need of a host processor as in a wireless speaker for example. The table below lists the functionalities that are attributed to the PIOs. Please note that when in Multipoint, PIO controls will take effect on the active link.

GPIO

14

UART Equivalent Description

VREGEN single DISCOVERABLE ON

Melody will become discoverable.

VREGEN long if VREG_ROLE=0

nothing if VREG_ROLE=1

POWER ON/OFF

Depends on the configuration of VREG_ROLE.

PIO_0 single

PIO_1 single

PIO_2 single

15

VOLUME UP

VOLUME DOWN

MUSIC PLAY/PAUSE or

CALL ANSWER/END

Increases volume of the current link (HFP or A2DP).

Decreases volume of the current link (HFP and A2DP).

Starts playing music or stop playing music for A2DP

Source and Sink.

If there is an incoming HFP call it will answer the call.

During an ongoing call it will end the call.

PIO_2 long

15

CALL

If HFP is enabled, it will initiate a CALL (last number redial).

PIO_4 single MUSIC BACKWARD

Sends AVRCP instruction BACKWARD

PIO_5 single MUSIC FORWARD

Table 8: Command Mode General PIO Bluetooth Commands

Sends AVRCP instruction FORWARD (Next track)

Note: 'single' is defined as any press and release that happens within 50ms. 'long' is defined as holding the

PIO high for 1000ms. A repeated 'long' press will be detected if the PIO is held high for multiples of 1000ms.

14

Refer to BC127 Datasheet for location of PIO on the module pinout.

15

Only on non-MFI builds.

Blue Creation

.

St John’s Innovation Centre, Cowley Road, Cambridge, CB4 0WS, United Kingdom t .

+44 (0)1223 420 252 e .

[email protected] www.bluecreation.com

Page 30 of 83

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals