ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

THROUGH THE LOOKING GLASS


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

THROUGH THE LOOKING GLASS

Lessons from the Trenches Taking a Look at the PIC18Cxxx Series
by David Brobst

Start ý PIC18Cxxx Chips ý Memory ý Data Memory ý Advanced Indirect Addressing ý Deep and Accessible Stack ý Interrupts ý Power-On Features ý Clock Speed ý 10-Bit A/D ý Hardware Multiplier ý Timers ý CCP/PWM ý USART ý I2C Master ý Table Read/Write ý Current Status ý Sources and PDF

PIC18Cxxx CHIPS

The current offering of the PIC18Cxxx architecture is limited to the PIC18Cxx2 family. In keeping with the tradition of vertically scaled subfamilies in controller lines, there are four chips in the PIC18Cxx2 familyýPIC18C452, PIC18C442, PIC18C252, and PIC18C242. The number of I/O lines and amount of program/data memory are the only differentiating features among the four chips. Table 1 details some of the features for this line of controllers. Figure 1 shows a pinout of both the 28- and 40-pin chips.

Feature/device

18C452

18C442

18C252

18C242

Package

40-pin DIP & SOIC

44-pin PLCC

40-pin TQFP

40-pin DIP & SOIC

44-pin PLCC

40-pin TQFP

28-pin DIP & SOIC

28-pin DIP & SOIC

I/Os

34

34

23

23

Program memory

16384 instructions

8192 instructions

16384 instructions

8192 instructions

Data memory

1536 bytes

512 bytes

1536 bytes

512 bytes

Clock speed

40 MHz

40 MHz

40 MHz

40 MHz

A/D (10 bit)

8

8

5

5

Programmable brownout

Yes

Yes

Yes

Yes

Programmable low voltage

Yes

Yes

Yes

Yes

USART

Yes

Yes

Yes

Yes

SPI

Yes

Yes

Yes

Yes

I2C (Master)

Yes

Yes

Yes

Yes

PWM (10 bit)

2

2

2

2

Timers

4

4

4

4

Hardware multiply

8 ý 8 single instruction

8 ý 8 single instruction

8 ý 8 single instruction

8 ý 8 single instruction

Table 1ýHere are the 18Cxx2 controller features. In addition to the standard features, note the large amount of program and data memory.

After looking at Table 1 and Figure 1, a few things are blessedly obvious for anyone familiar with the mid-range family of PIC microcontrollers. First and foremost, the 28- and 40-pin devices in the PIC18Cxx2 family share the exact same pinout as the 28- and 40-pin devices of the entire PIC16Cxxx family of microcontrollers. This means that current designs can potentially migrate to the more powerful chip without a costly hardware revision. At the very least, keeping the same pinout eases the design because all of the I/Os and special function modules are in familiar spots.

PREVIOUSNEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ