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 4th October 2006, 06:04 PM   (permalink)
Red face Zilog Z8 timer question

I am very new to programming microcontrollers. I was able to figure out the how to use the General I/O ports, but I am having a hard time understanding how the timers work on the chip. The chip's manual does not have an example to show me that this value will cause this to happen. The manual seems to be written in some sort of weird electronicese. None to clear for the newbie. Can anyone write me a simple program in c and walk me through what each value is going to do as a timer function. I am using the Zilog 64k development board with the ZDS II software. I have looked at other programs from the internet, but I still am not following.
I know I should have probably started off with a basic stamp or a pic of some kind, but I was able to get everything necessary for development for $40. The others were almost 3 times as much. I have kids, I can't afford that kind of extravagancy
meratz is offline  
Old 4th October 2006, 08:30 PM   (permalink)
Default

I don't use Z8 but it took me just ten seconds to find the following Application Note from Zilog website. (by typing "Z8 MCU timer" in Google).

It explains the function and various mode of the timer. It also includes C header files and example codes. Have you looked through it yet?

Z8 Timer App Note: www.zilog.com/docs/z8encore/appnotes/an0131.pdf
__________________
L.Chung
eblc1388 is offline  
Old 4th October 2006, 09:27 PM   (permalink)
Default

Download the specification document as well. It does an excellent job of explaining the timers, their modes and the setup details.

Assuming this is a Z8 Encore!.
__________________
Mark Higgins
DirtyLude is offline  
Old 12th October 2006, 12:25 AM   (permalink)
Default

i use Z8 Encore and all i need to know are found at Zilog site, just dig deeper.
penoy_balut is offline  
Old 12th October 2006, 04:22 PM   (permalink)
Default figured it out

I was finally able to piece together how the timer works. Thanks for you help!
meratz is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
IR EMMITTER AND DETECTOR, USING 555 TIMER (TESTING QUESTION) Anton04 Electronic Projects Design/Ideas/Reviews 1 2nd November 2005 06:50 PM
555 Timer, Astable Mode Question micro571 Electronic Projects Design/Ideas/Reviews 3 17th October 2004 05:25 AM
Question about the 555 timer xenoxion General Electronics Chat 4 22nd June 2004 09:55 PM
555 timer question rayclark General Electronics Chat 8 1st October 2003 08:42 PM



All times are GMT. The time now is 10:30 PM.


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

eXTReMe Tracker