The PIC18F452 is, as with all the other18F
series parts, optimized for using
C. It has a 31 deep hardware stack and linear memory (rather than banked memory) so
you don't have to make adjustements for the hardware when coding in C.
This microcontroller is exceptionally powerful and ideal for C programming...but the 18F2550/18F4550 are similar and have a built-in USB interface.
The 18F452 has 16k of program memory
and 1536 Bytes of RAM and
because the RAM is linear you can declare large arrays which is not possible if
you use devices with banked memory (16F series).
Note: Banked memory occupies the same memory adress space and you switch from one bank to another using some program code (in other devices).
It is packaged in a 40 pin DIP other packages are PLCC and TQFP for surface mount) and it can be programmed in circuit using ICSP. As with the other 18F devices it has an 8 bit hardware multiplier (8x8).
Note: The PIC 18F452 is pin compatible with 40-pin PIC16C7X devices.
It also has a 4x internal phase locked loop oscillator - so you can supply an external clock signal of 10MHz and it will run at 40MHz internally but remember that the maximum internal instruction rate is Fosc/4 so even with the PLL active (or using an external 40MHz clock) you only get 1 instruction every 4 clock cycles - the maximum you can get is 10MIPS.
|Device||Program memory words||Data Memory Bytes||ADC||PSP||PINS|
Note: 18F452 and 18F442 come in PLCC and TQFP while the 18F252 and 18F242 come in SOIC as well. All have 256 bytes of EEPROM.
Mar 25, 15 08:14 AM
Mar 04, 15 01:33 AM
How to drive multiple LEDs with very few microcontroller outputs.
Nov 25, 14 12:00 PM
An PIC Ultrasonic Distance meter project using a PIC microcontroller which is ideal since it has a capture timer that can accurately measure the ultrasonic echo time, so calculating the distance is ea…
Sign up for MicroZine:
''The'' Microcontroller Newsletter
Enter your first Name and primary email address in the form below:
And receive absolutely FREE a full project for:
"Measuring Analogue Voltages
Without An ADC"
(Using only one pin).
Get It Right Now
Remember this is a project with full description and fully debugged C Source code - and it's not available from the main website.
You can only get it through this newsletter.
To get exclusive access Enter your first name Name and primary email address Now in the form above.:
But wait !
You'll receive more
free and exclusive reports as well as site information and site product updates.
Scroll up to the form above and sign up NOW. Don't forget it's FREE and if you don't like it you can unsubscribe at any time.
Click Here Now to use the form above to get your Valuable information absolutely free.