12.07.2015 Views

GM862-GPS Software User Guide - SemiconductorStore.com

GM862-GPS Software User Guide - SemiconductorStore.com

GM862-GPS Software User Guide - SemiconductorStore.com

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>GM862</strong>-<strong>GPS</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong>1vv0300729 Rev. 4 - 24/01/07TIP: Remember that the alternate function places the GPIO6 pin always in OUTPUT directionand since the GPIO6 pin value is controlled by the internal software, the correspondingfunction (+CALA) must be setup properly.NOTE: The #GPIO6 direction setting is saved and will be kept after a power off.The saving can be applied only for the alternate mode.For example:1- Let's assume you want to set GPIO6 pin as ALARM OUTPUT:<strong>com</strong>mand:AT#GPIO=6,0,2response:OKIn this case, the GPIO6 pin was successfully put in alarm output direction.3.6.2.5 Using GPIO7 pin as BUZZER OUTPUT (alternate function)When you set the GPIO7 pin as buzzer output function, the pin will output a waveform suitable to drivea Buzzer, provided a simple external mosfet driver is developed and that the #SRP settings areadequate. To set the pin in alternate function you must specify also a dummy value for the pin state:• Send <strong>com</strong>mand AT#GPIO=7,,2where: is a dummy value can be either:0 – dummy value1 – dummy value• wait for response OKTIP: Remember that the alternate function places the GPIO7 pin always in OUTPUT directionand since the GPIO7 pin value is controlled by the internal software, the correspondingfunction (#SRP) must be setup properly.NOTE: The #GPIO7 direction setting is saved and will be kept after a power off.The saving can be applied only for the alternate mode.For example:1- Let's assume you want to set GPIO7 pin as BUZZER OUTPUT:<strong>com</strong>mand:AT#GPIO=7,0,2response:OKReproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 83 of 111

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

Saved successfully!

Ooh no, something went wrong!