Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 20th September 2007, 09:00 AM   (permalink)
Default Xtal freq for Z8671 2K ROM BASIC, member of old Z8 family

Hi,

Can anyone remember what Xtal frequency is specified for this MCU in order to produce the correct serial baudrate? The chip Z0867108PEC has suffix "08" so the crystal frequency will certainly be less than 8MHz.

Z8671 is a 2K masked ROM BASIC Z8 variant from the '80. It has internal UART. The baudrate divisor is hard coded into the ROM and requires a particular crystal frequency to produce the correct baudrate.

Thanks
__________________
L.Chung
eblc1388 is offline  
Old 20th September 2007, 10:39 AM   (permalink)
Default

I haven't worked with that microcontroller. I've just searched the web to answer your question. Does this link help?
eng1 is offline  
Old 20th September 2007, 11:04 AM   (permalink)
Default

The number 7.372800 MHz. comes to mind. It is 768 * 9600baud

For the numerologists 768 = 256 * 3 = (2^8 ) * 3
Papabravo is offline  
Old 20th September 2007, 02:09 PM   (permalink)
Default

@eng1: In fact I raised my question after reading that exact webpage in the link, which indicated twice in its content that the Xtal frequency is 7.8MHz.

After studying the ASM listing included on that page, I worked out the correct XTAL frequency should in fact be 7.3728MHz.

@Papabrave: Its exactly as what you've suggested.
__________________
L.Chung
eblc1388 is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:29 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker