ZBasic and ZX microcontrollers.
Powerful microcontrollers for engineers, scientists, experimenters and hobbyists.

ZX-128a1 Microcontroller


ZX-128a1 Microcontroller
Click to enlarge

The ZX-128a1 is a "native mode" ZX device based on one of the new Atmel xmega processors. Since it is largely source code compatible with the other 100-pin ZX devices, it provides an excellent upgrade path for more demanding applications. The heart of the ZX-128a1 is the Atmel AVR ATxmega128a1 microcontroller running at 29.5MHz which provides 8192 bytes of RAM, 2012 bytes of EEPROM and 128K of internal Flash memory for your programs.

To use the ZX-128a1 you'll need a regulated voltage source (2.6 to 3.6VDC), a 14.7456MHz crystal, and a few additional interface components including the optional external expansion RAM. You may download a schematic with suggested support circuitry for the ZX-128a1 as a PDF.

ZX-128a1 Technical Featuresı
Package 100-pin TQFP
Operating Temperature -40 to +85°C
Processor Atmel AVR ATxmega128a1
Power Requirements 2.6 to 3.6VDC regulated at 200mA
Processor Speed Up to 29.5MIPS (29.5MHz)
Program Execution Speed Up to 5.8 million instructions/sec²
User RAM - standard 8K bytes
User RAM - maximum 64K bytes
Non-volatile Data Memory 2012 bytes
Program Memory 128K bytes
Digital I/O pins 74³
PWM Channels Up to 22 channels, 16-bit resolution
Analog-to-Digital Channels Up to 16 channels, 10-bit resolution
Digital-to-Analog Channels Up to 4 channels, 12-bit resolution
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 to 16 bits, MSB or LSB first
Asynchronous Serial I/O Ports 8-HW, up to 4 SW full duplex
X-10 Command Support Yes
Multi-tasking Support Yes
Pin Change Interrupts All I/O pins
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.) System Level
Programming Interface Serial - 115.2K baud
Field Upgradeable System Software No
Supports Inline Assembly Yes
Supports Interrupt Handling Code Yes
  1) Items in boldface indicate differences from the ZX-1280n.
  2) Speed based on the instruction b = b + 1.
  3) Some I/O lines have other possible uses, e.g. serial I/O, external RAM interface, etc.
  4) SW means implemented in system software, HW means hardware implementation.
  Specifications subject to correction and change without notice.

A standard serial port is required to download code to the ZX-128a1. 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.

Currently viewing:  ZX-128a1 Microcontroller
Copyright © 2005-2018 Elba Corp. All rights reserved.