Timer Problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-03-15 1:51 AM
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-03-11 12:34 AM
Posted on March 11, 2004 at 09:34
I'm working with the ST72264G u-C.
I'm using Timer A in ''one pulse mode'', and I want to use Timer B as ''output compare'' to indicate when a period of time has elapsed without output pin. (just to get interrupt when a period has elapsed). In my application I want Timer B to be stopped until I enable it wait for the output compare interrupt and disable it back. Since Timer B is free running, when I enable the interrupts using ''rim'' I get a timer B interrupt although I already set the TIMD bit in the CSR (and preformed a read from the CSR/OCBLR to clear the OCF bit). Can anyone advise how the get rid from the first unwanted interrupt?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-03-14 11:56 PM
Posted on March 15, 2004 at 08:56
It is not the normal behaviour. Could you attach your code ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-03-15 1:51 AM
Posted on March 15, 2004 at 10:51
I suspected that I worked with a faulty chip.
I replaced it and everything is working. Thanks