AT89S52
:: คุณสมบัติเด่นของไอซีเบอร์นี้คือ เป็นไมโครคอนโทรลเลอร์ MCS-51
ของบริษัท ATMEL เป็นไอซีที่ใช้การโปรแกรมแบบ ISP โดยจะต่อวงจรที่ใช้สำหรับโปรแกรมเพียงไม่กี่ตัวเช่นใช้
IC 20 ขา 1 ตัว ยกตัวอย่างเบอร์ 74HC244, 74HC245 หรือ 74HC541
หลังจากนั้นถ้าต้องการโปรแกรมไอซี ก็จะติดต่อกับไมโครคอมพิวเตอร์ทางพอร์ตขนาน
เมื่อเขียนโปรแกรมแล้วสามารถโหลดข้อมูลที่เป็น HEX File ลงมาที่บอร์ดโดยไม่ต้องถอดชิปไอซีออกจากบอร์ดทดลอง
และไม่ต้องใช้เครื่องโปรแกรมจากภายนอกเพิ่มเติม หลังจากนั้นสามารถทำการทดสอบโปรแกรมได้ทันที
(ราคา ณ.ปัจจุบันอยู่ที่ ประมาณ 60 บาท)
คุณสมบัติของไอซี
AT89S52
Compatible with MCS-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory Endurance:
1000 Write/Erase Cycles
4.0V to 5.5V Operating Range
Fully Static Operation: 0 Hz to 33 MHz
Three-level Program Memory Lock
256 x 8-bit Internal RAM
32 Programmable I/O Lines
Three 16-bit Timer/Counters
Eight Interrupt Sources
Full Duplex UART Serial Channel
Low-power Idle and Power-down Modes
Interrupt Recovery from Power-down Mode
Watchdog Timer
Dual Data Pointer
Power-off Flag
P89C51RD2
::
คุณสมบัติเด่นของไอซีเบอร์นี้คือ เป็นไมโครคอนโทรลเลอร์ MCS-51ของบริษัท
PHILIPH สามารถโปรแกรม แบบ ISP โดยต่อวงจรอีกเล็กน้อย (เช่น
IC MAX232,DS275,หรือใช้ทรานซิสเตอร์ 2 ตัว ) แล้วติดต่อกับไมโครคอมพิวเตอร์ทางพอร์ตอนุกรม
ส่วนขั้นตอนการเขียนโปรแกรม เพื่อทำการทดลองจะคล้ายกับไอซี
AT89S52
(ราคาของไอซี
P89C51RD2
ณ.ปัจจุบันอยู่ที่
300 บาท)
คุณสมบัติของไอซี
P89C51RD2
On-chip Flash Program Memory with In-System Programming (ISP)
and In-Application Programming (IAP) capability
Boot ROM contains low level Flash programming routines for downloading
via the UART
Can be programmed by the end-user application (IAP)
6 clocks per machine cycle operation (standard)
12 clocks per machine cycle operation (optional)
Speed up to 20 MHz with 6 clock cycles per machine cycle (40 MHz
equivalent performance); up to 33 MHz with 12 clocks per machine
cycle
Fully static operation
RAM expandable externally to 64 kB
4 level priority interrupt
7 interrupt sources
Four 8-bit I/O ports
Full-duplex enhanced UART
Power control modes
Programmable clock out
Second DPTR register
Asynchronous port reset
Low EMI (inhibit ALE)
Programmable Counter Array (PCA)
PWM
Capture/compare