《电子技术应用》
您所在的位置:首页 > 模拟设计 > 解决方案 > MicrochipPIC32M2MGSM/GPRS/GPS解决方案

MicrochipPIC32M2MGSM/GPRS/GPS解决方案

2012-05-07
作者:Microchip公司
</a>GPS" title="GPS">GPS" title="GPS">GPS和GSM/GPRS模块,具有许多特性,包括GSM,GPRS和GPS,能很容易创建具有定位意识的低成本M2M应用.本文介绍了PIC32 MCU主要特性,方框图以及M2M PICtail Plus子板主要特性和功能,方框图以及电路图,PCB布局图.

PIC32MX3XX/4XX: High-Performance, General Purpose and USB, 32-bit Flash Microcontrollers

PIC32 MCU主要特性:

High-Performance 32-bit RISC CPU:

• MIPS32® M4K® 32-bit core with 5-stage pipeline

• 80 MHz maximum frequency

• 1.56 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state Flash access

• Single-cycle multiply and high-performance divide unit

• MIPS16e® mode for up to 40% smaller code size

• Two sets of 32 core register files (32-bit) to reduce interrupt latency

• Prefetch Cache module to speed execution from Flash

Microcontroller Features:

• Operating temperature range of -40ºC to +105ºC

• Operating voltage range of 2.3V to 3.6V

• 32K to 512K Flash memory (plus an additional 12 KB of boot Flash)

• 8K to 32K SRAM memory

• Pin-compatible with most PIC24/dsPIC® DSC devices

• Multiple power management modes

• Multiple interrupt vectors with individually programmable priority

• Fail-Safe Clock Monitor Mode

• Configurable Watchdog Timer with on-chip Low-Power RC Oscillator for reliable operation

Peripheral Features:

• Atomic SET, CLEAR and INVERT operation on select peripheral registers

• Up to 4-channel hardware DMA with automatic data size detection

• USB 2.0-compliant full-speed device and On-The-Go (OTG) controller

• USB has a dedicated DMA channel

• 3 MHz to 25 MHz crystal oscillator

• Internal 8 MHz and 32 kHz oscillators

• Separate PLLs for CPU and USB clocks

• Two I2C™ modules

• Two UART modules with:

- RS-232, RS-485 and LIN support

- IrDA® with on-chip hardware encoder and decoder

• Up to two SPI modules

• Parallel Master and Slave Port (PMP/PSP) with 8-bit and 16-bit data and up to 16 address lines

• Hardware Real-Time Clock and Calendar (RTCC)

• Five 16-bit Timers/Counters (two 16-bit pairs combine to create two 32-bit timers)

• Five capture inputs

• Five compare/PWM outputs

• Five external interrupt pins

• High-Speed I/O pins capable of toggling at up to 80 MHz

• High-current sink/source (18 mA/18 mA) on all I/O pins

• Configurable open-drain output on digital I/O pins

Debug Features:

• Two programming and debugging Interfaces:

- 2-wire interface with unintrusive access and real-time data exchange with application

- 4-wire MIPS® standard enhanced JTAG interface

• Unintrusive hardware-based instruction trace

• IEEE Standard 1149.2-compatible (JTAG) boundary scan

Analog Features:

• Up to 16-channel 10-bit Analog-to-Digital

Converter:

- 1000 ksps conversion rate

- Conversion available during Sleep, Idle

• Two Analog Comparators

图1. PIC32 MCU方框图

M2M PICtail子板

Microchip’s Machine-to-Machine (M2M) PICtail Daughter Board (part # AC320011) based upon u-blox GPS and GSM/GPRS modules makes it easy to create low-cost M2M applications with location-awareness capabilities.

The M2M PICtail Plus Daughter Board contains many features, including GSM, GPRS, and GPS.

M2M PICtail Plus子板主要特性:

• Global System for Mobile Communication (GSM)

GSM is a popular world-wide standard for mobile telephone systems. GSM includes technologies in both signaling and speech channels, which are digital; therefore, GSM is considered a Second Generation (i.e., 2G) mobile phone system. This facilitates the wide-spread implementation of data communication applications into the system. GSM also implements a Short Message Service (SMS), called text messaging.

• General Packet Radio Service (GPRS)

GPRS is a service on 2G and 3G cellular communication systems (GSM). GPRS provides data rates of 56-114 kbps, which provides users with the capability to connect to the Internet.

• Global Positioning System (GPS)

GPS is a space-based navigation system that provides reliable location and time information in all weather conditions and at all times, and anywhere on or near the Earth when and where there is an unobstructed line of sight to four or more GPS satellites.

It is freely accessible by anyone with a GPS receiver.

The Microchip M2M PICtail™ Plus Daughter Board (referred to as the M2M Board) developed by u-blox AG, was designed to connect directly to the PICtail™ interface of the Multimedia Expansion Board (MEB), but can also be used with any PIC32 microcontroller.

This application note describes a reference design that enables the implementation of GSM/GPRS/GPS connectivity using a PIC32 microcontroller (MCU), the M2M Board, and the MEB.

M2M PICtail Plus子板主要功能:

The main functionality of the M2M Board is accomplished using two communications modules from u-blox A, which is a company that specializes in GSM/ GPS ICs.

The M2M Board was designed to connect to Microchip’s MEB. The MEB uses Microchip’s PIC32 starter kit collection as the primary controller source.

This suite makes it easy to start and implement embedded controller projects due to its:

• Built-in debugger

• USB power source

• On-board header for easy attachment to PCBs

• PIC32 device with high-speed performance and no peripheral loss

The M2M Board is built around two controller modules, the LEON-G200 and the NEO-6Q, which are available from u-blox AG.

The LEON-G200 is a Quad Band GSM/GPRS data and voice module. Communications to the module are through AT commands. The UART module on the PIC32 device handles the AT commands. The LEON-G200 handles the GPS communications to the NEO-6Q module. The module also contains 1 MB of non-volatile memory that can be used for storing local or Internet files.

The NEO-6Q GPS module uses the u-blox sixpositioning engine for its GPS positions support. In this hardware setup, it acts as a slave to the LEONG200, but can be a stand-alone module with its own set of AT commands.

图2.M2M PICtail Plus子板外形图

图3.M2M PICtail Plus子板参考设计框图

图4.M2M PICtail Plus子板框图

图5.M2M PICtail Plus子板电路图:LEON-G200模块和天线

图6.M2M PICtail Plus子板电路图:电源板插座

图7.M2M PICtail Plus子板电路图:SIM卡插座

图8.M2M PICtail Plus子板电路图:放大器电路

图9.M2M PICtail Plus子板电路图:NEO-6Q GPS模块和天线

图10.M2M PICtail Plus子板电路图:电压稳压器电路

图11.M2M PICtail Plus子板电路图:GSM/GPS子板电源

图12.M2M板布局图:顶层

图13.M2M板布局图:底层
详情请见:
http://ww1.microchip.com/downloads/en/DeviceDoc/61143H.pdf

http://ww1.microchip.com/downloads/en/DeviceDoc/AN1373.pdf



本站内容除特别声明的原创文章之外,转载内容只为传递更多信息,并不代表本网站赞同其观点。转载的所有的文章、图片、音/视频文件等资料的版权归版权所有权人所有。本站采用的非本站原创文章及图片等内容无法一一联系确认版权者。如涉及作品内容、版权和其它问题,请及时通过电子邮件或电话通知我们,以便迅速采取适当措施,避免给双方造成不必要的经济损失。联系电话:010-82306118;邮箱:aet@chinaaet.com。