|
Capability of implementing multiple UARTs on a single MCU provides great flexibility and
convenience, especially when interfacing several communication systems to each other. Cyan presents an
excellent example, GPS asset tracker. Let's see how
it is benefited from this feature.
GPS Asset Tracker Example Project
The Asset Tracker is a very low power unit that can be used to monitor its own position with a GPS receiver, then record and report this back to a central location using a GSM radio modem.
This example project contains the following external memory or modules.
- GPS Module.
- 1 Mbyte Static RAM.
- 64 Kbytes I2C Serial EEPROM
|
- GPRS Radio Modem.
- 1 Mbyte Flash ROM.
- RS232 Serial Interface (Debug purpose).
|
Only ONE eCOG MCU is needed. Not only the circuitry is simplified, but also less cost and less time for development. CyanIDE helps reducing the development time even further. Let’s see how the eCOG MCU is configured with all these external hardwares.
Hardware Descriptions and eCOG
Configurations
Configurations of each UART on the Cyan eCOG MCU:
| UART |
External modules using UART |
eCOG peripherial |
| 1 |
GPRS Module |
DUARTA |
| 2 |
GPS Module |
DUARTB |
| 3 |
RS232 Interface (Debug purpose) |
DUSARTA (Configured as UART) |
Other eCOG used peripherials
eCOG's DUSARTB is configured as I2C bus for I2C Serial EEROM, the its EMI is connected to a static RAM and flash ROM and A/D converter for GPS Module.
Please visit Cyan
official asset tracker web page for full details.
| Note:
|
The Global Positioning System (GPS) is a satellite navigation system used for determining one's precise location and providing a highly accurate time reference almost anywhere on Earth.
|
|