22.01.2015 Views

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

this SIM5218 AT command manual - Cooking Hacks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>SIM5218</strong> Serial <strong>AT</strong> Command Set<br />

<strong>AT</strong>+CPTONE= <br />

+CPTONE:(0-26)<br />

OK<br />

<strong>AT</strong>+CPTONE=17<br />

OK<br />

4.29 <strong>AT</strong>+CPCM External PCM codec mode configuration<br />

Description<br />

The <strong>command</strong> will enable PCM or disable PCM function. And configure different PCM mode.<br />

Because the PCM pins are multiplex on GPIO, it will switch the function between GPIO and PCM.<br />

SIM PIN References<br />

NO Vendor<br />

Syntax<br />

Test Command<br />

<strong>AT</strong>+CPCM=<br />

Read Command<br />

<strong>AT</strong>+CPCM<br />

Write Command<br />

<strong>AT</strong>+CPCM=[,]<br />

Responses<br />

+CPCM: (list of supported s), (list of supported s)<br />

OK<br />

Responses<br />

+CPCM: ,<br />

OK<br />

Responses<br />

OK<br />

Defined values<br />

<br />

0 – disable PCM, switch to common GPIOs.<br />

1 – enable PCM, switch to PCM function.<br />

<br />

0 – Auxiliary master PCM, 128K clock and 8K synchronize clock.<br />

1 – Primary master PCM, 2M clock and 8K synchronize clock...<br />

2 – Primary slave PCM, clock provided by external codec.<br />

Examples<br />

<strong>AT</strong>+CPCM=1<br />

OK<br />

<strong>AT</strong>+CPCM=<br />

+CPCM : (0-1),(0-2)<br />

OK<br />

<strong>AT</strong>+CPCM<br />

<strong>SIM5218</strong>_Serial _<strong>AT</strong>C_V1.36 69<br />

5/15/2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!