1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Zilog Z8 timer question

Discussion in 'Microcontrollers' started by meratz, Oct 4, 2006.

  1. meratz

    meratz New Member

    Joined:
    Sep 20, 2006
    Messages:
    8
    Likes:
    0
    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;)
     
  2. eblc1388

    eblc1388 Active Member

    Joined:
    Jan 25, 2005
    Messages:
    2,228
    Likes:
    18
    Location:
    UK
    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
     
  3. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    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!.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. penoy_balut

    penoy_balut New Member

    Joined:
    Sep 12, 2006
    Messages:
    171
    Likes:
    1
    Location:
    Bagong Silang

    i use Z8 Encore and all i need to know are found at Zilog site, just dig deeper.
     
  6. meratz

    meratz New Member

    Joined:
    Sep 20, 2006
    Messages:
    8
    Likes:
    0
    figured it out

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

Share This Page