Microcontrollers programming

Discussion in 'Embedded Systems and Microcontrollers' started by infinitig35, Oct 22, 2008.

  1. infinitig35

    Thread Starter Member

    Mar 3, 2008
    25
    0
    :( Good morning everyone. I'm a little puzzled on one of my homework problem. Can someone give me a hint on how to proceed with this: here's the question=> Write a program that uses both an RTI (Real Time Interrupt) and an TOI (Timer Overflow Interrupt) or a TOC (Timer Output Compare). Have each of the interrupts do something different.
    Thanks you.
     
  2. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    What microcontroller are you using?

    hgmjr
     
  3. infinitig35

    Thread Starter Member

    Mar 3, 2008
    25
    0
    the Motorolla M68HC11
     
  4. infinitig35

    Thread Starter Member

    Mar 3, 2008
    25
    0
    :( I guess noone can help me! :(
     
  5. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    There are many articles on the Internet that you could find using google. Here is one example.

    It is possible that the active members here in the AAC forum do not have enough experience with the 68HC11 to feel comfortable making a reply.

    68HC11 is still a viable chip but there several new microcontrollers on the market such as the PIC and AVR that would be worth researching if you are just beginning to learn microcontrollers. Their cost and the availability of inexpensive and in some cases free tools make them a prime choice for the hobbyist.

    hgmjr
     
  6. infinitig35

    Thread Starter Member

    Mar 3, 2008
    25
    0
    Thank you sir.
     
  7. veritas

    Active Member

    Feb 7, 2008
    167
    0
    I've used the 68HC11 in a microcontroller class and completed similar assignments, but that was a couple years ago.

    Do you know how to enable the interrupts and specify the functions for them?
     
  8. veritas

    Active Member

    Feb 7, 2008
    167
    0
    Actually, we were using the 68HC12. I think they're pretty similar, but I don't know what the differences are.

    As I recall, the keys to using the interrupts were setting up the vector table and setting the correct registers for the various interrupts.
     
  9. infinitig35

    Thread Starter Member

    Mar 3, 2008
    25
    0
    Anyone have any ideas on my problem?
     
Loading...