Interfacing GPS With LPC2148 ARM: Arm How-To Guide
Interfacing GPS With LPC2148 ARM: Arm How-To Guide
Interfacing GPS With LPC2148 ARM: Arm How-To Guide
TXD-0
ISP PGM
RXD-0 P0.1
ARM7 MAX
TXD-1 P0.8
UART1
(P2)
3232
RXD-1 P0.9
3.3V
16
VDD1
VDD2
VDD3
VDDA
VREF
1
6 19 TXD0 11 6
VCC
18 VSS1 P0.0 33 TXD1 10 T1IN 7 TX1_OUT 2
25 VSS2 P0.8 T2IN T2OUT 7 10
42 VSS3 21 RXD0 12 8 RX1_IN 3
50 VSS4 P0.1 34 RXD1 9 R1OUT R2IN 8 11
59 VSS5 P0.9 R2OUT 4
VSSA 1 14 TX0_OUT 9
LPC2148 C4 C1+ T1OUT 5
13 RX0_IN
100n 3 R1IN
C1-MAX3232/DIP C5 COM2
4 6 100n
C6 C2+ V-
C7
GND
XTAL2
XTAL1
100n 5 2
C2- V+ 100n
15
61
62
12MHz
22pf 22pf
Source Code
***************************************************************************************
Title : Program to receive data from satellite to LPC2148 through UART0
***************************************************************************************
#define CR 0x0D
#include <LPC21xx.H>
int main(void)
{
init_serial();
while(1)
{
while (*Ptr)
{
putchar(*Ptr++);
}
if (ch == '\n')
{
General Information