16Mhz?

Discussion specific to the DIP and TQFP packaged ZX devices like the ZX-40, ZX-44, ZX-32 and ZX-328 series. The differences between these devices is primarily the packaging and pinout so most issues will apply to all devices.
Post Reply
mdown
Posts: 62
Joined: 03 February 2006, 5:46 AM
Location: Dallas, Texas
Contact:

16Mhz?

Post by mdown »

In a few other boards dealing with Atmega32's I have read about people using 16MHz crystals. Will the ZX-44 operate with a 16MHz crystal? Or should we just stick with a 14.7456 MHz crystal?
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

The 14.7456MHz crystal was chosen for two reasons. Firstly, and most importantly, that frequency allows reliable serial communication at higher speeds than are attainable when using 16MHz. In particular, the download speed (115.2K baud) is too far off to support reliable communication with a main clock rate of 16MHz. Secondly, the chosen frequency permits greater compatibility with BasicX than could be obtained running at 16MHz.

To answer your specific question, while the chip will run with a 16MHz crystal, the ZBasic VM won't operate correctly. The serial speeds would all be wrong, the RTC would run fast, etc. Virtually all functions that are time-based would be incorrect.

If a faster execution speed is needed for your application a special version of the ZX could be produced. We can discuss this further, if desired, in private email.
- Don Kinzer
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Post by stevech »

57600 baud is too far of as well, with 16MHz crystal
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

stevech wrote:57600 baud is too far of as well, with 16MHz crystal
At 1X that is true but setting U2X=1 will yield a speed that is less than 1% off.
- Don Kinzer
Post Reply