SIM800 Series_PCM 
_Application Note 
GPRS Module   
SIMCom Wireless Solutions Limited 
Building B, SIM Technology Building, No.633, Jinzhong Road 
Changning District, Shanghai P.R. China 
Tel: 86-21-31575100 
support@simcom.com 
www.simcom.com 
 
 
 
 
SIM800  Series_PCM_Application  Note_V1.02 
SIM800 Series_PCM_Application Note 
1.02 
2020.6.15 
Released 
 
Document Title: 
Version: 
Date: 
Status: 
 
 
GENERAL NOTES 
 
SIMCOM  OFFERS  THIS  INFORMATION  AS  A  SERVICE  TO  ITS  CUSTOMERS,  TO  SUPPORT 
APPLICATION AND ENGINEERING EFFORTS THAT USE THE PRODUCTS DESIGNED BY SIMCOM. 
THE  INFORMATION  PROVIDED  IS  BASED  UPON  REQUIREMENTS  SPECIFICALLY  PROVIDED  TO 
SIMCOM  BY  THE  CUSTOMERS.  SIMCOM  HAS  NOT  UNDERTAKEN  ANY  INDEPENDENT  SEARCH 
FOR ADDITIONAL RELEVANT INFORMATION, INCLUDING ANY INFORMATION THAT MAY BE IN THE 
CUSTOMER’S  POSSESSION.  FURTHERMORE,  SYSTEM  VALIDATION  OF  THIS  PRODUCT 
DESIGNED BY SIMCOM WITHIN A LARGER ELECTRONIC SYSTEM REMAINS THE RESPONSIBILITY 
OF  THE  CUSTOMER  OR  THE  CUSTOMER’S  SYSTEM  INTEGRATOR.  ALL  SPECIFICATIONS 
SUPPLIED HEREIN ARE SUBJECT TO CHANGE. 
 
 
COPYRIGHT 
 
THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTY 
OF SIMCOM WIRELESS SOLUTIONS LIMITED COPYING, TO OTHERS AND USING THIS DOCUMENT, 
ARE FORBIDDEN WITHOUT EXPRESS AUTHORITY BY SIMCOM. OFFENDERS ARE LIABLE TO THE 
PAYMENT OF INDEMNIFICATIONS. ALL RIGHTS RESERVED    BY SIMCOM IN THE PROPRIETARY 
TECHNICAL INFORMATION  ,INCLUDING BUT NOT LIMITED TO REGISTRATION GRANTING OF A 
PATENT , A UTILITY MODEL OR DESIGN. ALL SPECIFICATION SUPPLIED HEREIN ARE SUBJECT TO 
CHANGE WITHOUT NOTICE AT ANY TIME. 
 
 
SIMCom Wireless Solutions Limited 
Building B, SIM Technology Building, No.633 Jinzhong Road, Changning District, Shanghai P.R. China 
Tel: +86 21 31575100 
Email: simcom@simcom.com 
 
For more information, please visit: 
https://www.simcom.com/download/list-863-en.html 
 
For technical support, or to report documentation errors, please visit: 
https://www.simcom.com/ask/ or email to: support@simcom.com 
 
 
Copyright © 2020 SIMCom Wireless Solutions Limited All Rights Reserved. 
 
 
www.simcom.com                                                                                                                                          2 / 9                                                       
 
SIM800  Series_PCM_Application  Note_V1.02 
 
About Document 
 
Version History 
Version  Date 
1.00 
1.01 
1.02 
2013-10-18 
2016-11-17 
2020-06-15 
 
 
Scope 
Owner 
Yong.Lu 
Yong.Lu 
Yizhe.Tan 
/Wenjie.Lai 
What is new 
New version 
Scope 
All 
 
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 
 
About Document .................................................................................................................... 3 
Version History ...................................................................................................................................... 3 
Scope .................................................................................................................................................... 3 
Contents ................................................................................................................................. 4 
Introduction ...................................................................................................................... 5 
1 
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 
3  PCM Examples ................................................................................................................. 9 
 
 
 
www.simcom.com                                                                                                                                          4 / 9                                                       
 
SIM800  Series_PCM_Application  Note_V1.02 
 
 
1 Introduction 
1.1 Purpose of the document 
 
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. 
 
1.2 Related documents 
 
[1] SIM800 Series_AT Command Manual 
 
 
1.3 Conventions and abbreviations 
Abbreviations 
PCM 
MSB 
LSB 
 
 
Description 
Pulse-Code Modulation 
Most Significant Bit 
Least Significant Bit 
 
www.simcom.com                                                                                                                                          5 / 9                                                       
 
SIM800  Series_PCM_Application  Note_V1.02 
 
2 AT Commands 
 
SIM800 series PCM AT command overview. 
 
AT Command 
AT+CHFA 
AT+CPCMCFG 
AT+CPCMSYNC 
 
 
Description 
Swap the audio channels 
Set PCM parameter 
Set PCM Sync parameter 
2.1 AT+CHFA    Swap the Audio Channels 
 
AT+CHFA    Swap the Audio Channels 
Test Command 
AT+CHFA=? 
Read Command 
AT+CHFA? 
Write Command 
AT+CHFA= 
Response 
+CHFA: (0=NORMAL_AUDIO, 
1=AUX_AUDIO,2=HANDFREE_AUDIO,3=AUX_HANDFREE_AUDI
O, 4=PCM_AUDIO) 
 
OK 
Response 
+CHFA:  
 
OK 
Parameter 
See Write Command 
Response 
OK 
If error is related to ME functionality: 
+CME ERROR:  
Parameter 
        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 
 must equal to 4 when using PCM function. 
www.simcom.com                                                                                                                                          6 / 9                                                       
 
SIM800  Series_PCM_Application  Note_V1.02 
 
2.2 AT+CPCMCFG    Set PCM Parameter 
Read Command 
AT+CPCMCFG? 
 
AT+CPCMCFG    Set PCM Parameter 
Response 
Test Command 
AT+CPCMCFG =? 
+CPCMCFG: (0-1) 
 
OK 
Parameter 
See Write Command 
Response 
+CPCMCFG:  
 
OK   
Parameter 
See Write Command 
Response   
OK 
ERROR   
Parameter 
      0      MSB 
1      LSB 
Write Command 
AT+CPCMCFG= 
Reference 
 
 
Note 
2.3 AT+CPCMSYNC    Set PCM Sync Parameter 
 
AT+CPCMSYNC    Set PCM Sync Parameter 
Test Command 
AT+CPCMSYNC =? 
Response 
+CPCMSYNC: (0-1),(1-8) 
 
OK   
Parameter 
See Write Command 
Response 
+CPCMSYNC: , 
 
OK   
Parameter 
Read Command 
AT+CPCMSYNC? 
www.simcom.com                                                                                                                                          7 / 9                                                       
 
SIM800  Series_PCM_Application  Note_V1.02 
Write Command 
AT+CPCMSYNC=, 
See Write Command 
Response   
OK 
ERROR   
Parameter 
    0      PCM short sync 
1      PCM long sync 
Reference 
 
 
    1-8      PCM sync length(1-8) 
Note 
The  is only supported 1 when PCM sync is short sync. 
www.simcom.com                                                                                                                                          8 / 9