SIM800 Series PCM Application Note V1.02
SIM800 Series PCM Application Note V1.02
SIM800 Series PCM Application Note V1.02
_Application Note
GPRS Module
GENERAL NOTES
COPYRIGHT
www.simcom.com 2/9
SIM800 Series_PCM_Application Note_V1.02
About Document
Version History
Scope
This document presents the AT command of PCM operation and application examples. This document can
apply to SIM800 series modules with PCM function.
www.simcom.com 3/9
SIM800 Series_PCM_Application Note_V1.02
Contents
Contents ................................................................................................................................. 4
1 Introduction ...................................................................................................................... 5
1.1 Purpose of the document ............................................................................................................ 5
1.2 Related documents ..................................................................................................................... 5
1.3 Conventions and abbreviations ................................................................................................... 5
2 AT Commands.................................................................................................................. 6
2.1 AT+CHFA Swap the Audio Channels........................................................................................ 6
2.2 AT+CPCMCFG Set PCM Parameter ........................................................................................ 7
2.3 AT+CPCMSYNC Set PCM Sync Parameter............................................................................. 7
www.simcom.com 4/9
SIM800 Series_PCM_Application Note_V1.02
1 Introduction
Based on module AT command manual, this document will introduce PCM application process.
Developers could understand and develop application quickly and efficiently based on this document.
Abbreviations Description
PCM Pulse-Code Modulation
MSB Most Significant Bit
LSB Least Significant Bit
www.simcom.com 5/9
SIM800 Series_PCM_Application Note_V1.02
2 AT Commands
AT Command Description
AT+CHFA Swap the audio channels
AT+CPCMCFG Set PCM parameter
AT+CPCMSYNC Set PCM Sync parameter
OK
Read Command Response
AT+CHFA? +CHFA: <n>
OK
Parameter
See Write Command
Write Command Response
AT+CHFA=<n> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<n> 0 Main audio channel
1 Aux audio channel
2 Main audio channel hand free mode
3 Aux audio channel hand free mode
4 PCM channel
Reference Note
<n> must equal to 4 when using PCM function.
www.simcom.com 6/9
SIM800 Series_PCM_Application Note_V1.02
OK
Parameter
See Write Command
Read Command Response
AT+CPCMCFG? +CPCMCFG: <format>
OK
Parameter
See Write Command
Write Command Response
AT+CPCMCFG=<format> OK
ERROR
Parameter
<format> 0 MSB
1 LSB
Reference Note
OK
Parameter
See Write Command
Read Command Response
AT+CPCMSYNC? +CPCMSYNC: <sync>,<length>
OK
Parameter
www.simcom.com 7/9
SIM800 Series_PCM_Application Note_V1.02
www.simcom.com 8/9
SIM800 Series_PCM_Application Note_V1.02
3 PCM Examples
www.simcom.com 9/9