|
The ZX-24n the "native mode" version of the popular ZX-24a microcontroller which runs native code for the processor. Since it is largely source code compatible with the ZX-24a, it provides an excellent upgrade path for more demanding applications.
The heart of the ZX-24n is the Atmel AVR ATmega644P microcontroller running at 14.7MHz.
It is accompanied by some support circuitry on a 24-pin DIP module that is
pin-compatible with the ZX-24a, the Parallax Basic Stamp and the NetMedia BX-24 microcontrollers.
The ATmega644P microcontroller internally has 4096 bytes of RAM and 2016 bytes of EEPROM available for your programs.
The 64K byte internal Flash memory of the mega644P is partially occupied by special serial downloader firmware leaving 56K bytes of Flash memory for your programs.
The mega644P has other resources available to your program including two high-speed serial ports,
analog-to-digital converters, timers and other sub-systems that may be accessed using
routines in the ZBasic System Library. Alternately, some of these resources may be accessed
directly using built-in registers.
The ZX-24n also has an on-board 32K byte serial EEPROM that may be used by your application
to store additional persistent data.
You may download a schematic of the ZX-24n (identical to that of the ZX-24) as a
PDF
or as an ExpressPCB .sch file.
To view the latter, you'll have to download free software from ExpressPCB.
ZX-24n Technical Featuresı
| Package |
24-pin DIP |
| Operating Temperature |
-40 to +85°C |
| Processor |
Atmel AVR ATmega644P |
| Power Requirements |
4.5-5.5VDC regulated or 7-20VDC |
| Processor Speed |
Up to 14.7MIPS (14.7MHz) |
| Program Execution Speed |
Up to 2.9 million instructions/sec² |
| User RAM |
4K bytes |
| Non-volatile Data Memory |
2016 bytes |
| Program Memory |
62K bytes |
| Digital I/O pins |
16+3³ |
| Analog-to-Digital Channels |
Up to 8 channels, 10-bit resolution |
| PWM Channels |
Two 16 bit |
| I2C Support |
1 HW channel, 4 SW channels |
| 1-Wire Support |
Bit and byte level |
| SPI Support |
4 HW channels |
| Synchronous Serial I/O Support |
1-16 bits, MSB or LSB first |
| Asynchronous Serial I/O Ports |
2-HW, up to 4 SW full duplex |
| X-10 Command Support |
Yes |
| Multi-tasking Support |
Yes |
| External Interrupts |
3 |
| Pin Change Interrupts |
All I/O lines |
| Analog Comparator Interrupt |
Yes |
| Interval Timer |
Yes |
| Exception Handling Support |
Yes |
| Floating Point Math |
Yes - IEEE 32-bit |
| Advanced Floating Point
Functions (sin, cos, log, etc.) |
Yes |
| Programming Interface |
Serial - 115.2K baud |
| Field Upgradeable System Software |
No |
| Supports Inline Assembly Code |
Yes |
| Supports Interrupt Handling Code |
Yes |
Notes:
1) Items in boldface indicate differences from the ZX-24a.
2) Speed based on the instruction b = b + 1.
3) The additional 3 I/O lines are outside of the standard 24-pin DIP format.
Specifications subject to correction and change without notice.
|
A standard serial port is required to download code to the ZX-24n.
If your computer does not have a standard 9-pin serial port but does have a USB port, you may use a USB to serial adapter.
Note, however, that some USB to serial adapters are too slow to be useful with the ZX microcontrollers.
We have found that adapters based on the second generation FTDI chips seem to work well.
The ZBasic IDE, compiler and documentation may be obtained free of charge via the Download page. See the menu at the left.
|