2021 Microchip Technology Inc. DS00003118C-Page 38
AN3118
3.6 Audio Input
Audio input can be toggled by flipping a switch
connected to the GPIO in Embedded mode. This GPIO
can be configured using the Config GUI tool, as shown
in Figure 37. In Host mode, it is recommended to
uncheck the AT Audio input source and to send the
Change_Audio_Source(0x44 2 0/1) and 13 1
1/0 commands to toggle the audio source between
Aux-in and I
2
S.
FIGURE 37: SELECTING AN AUDIO INPUT USING CONFIG GUI TOOL
3.7 Mode Select
The BM83 role can be changed from source to sink and
vice versa by flipping the switch connected to GPIO in
Embedded mode as shown in Figure 37. In Host mode,
it is recommended that AT APP mode select be
unchecked and the Change_APP_Mode(0x44 3 0/
1) command needs to be sent to switch between
source and sink.
3.8 I
2
S Sampling Rate Change
The BM83 transmitter can take I
2
S as input. By default,
the BM83 transmit audio uses a 48 kHz sampling rate.
This sampling frequency can be changed to 44.1 kHz
by issuing a
Change_Audio_In_Sampling_Rate_Cmd(44 6
1) command. The sampling rate can be changed back
to 48 kHz by issuing a 44 6 0 command.