home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!canterbury.ac.nz!geoffrey
- Newsgroups: sci.electronics
- Subject: PROBLEM with 68HC11 input capture
- Message-ID: <C0EKIA.DpA@cantua.canterbury.ac.nz>
- From: geoffrey@cosc.canterbury.ac.nz (Geoff Thomas)
- Date: Tue, 5 Jan 1993 22:44:33 GMT
- Organization: University of Canterbury, Christchurch, New Zealand
- Nntp-Posting-Host: bkahu.canterbury.ac.nz
- Lines: 34
-
-
- I'm having a few problems with spurious timer values being reported
- by the input captures on my HC11A1FN (EVB). The chip is set up so
- that output compare 1 triggers the three input captures at varying
- times. The IC value are then copied out into RAM. The problem is this:
-
- when the IC triggering is very close to the OC1 switching, the IC values
- (in one of the 3 ICs anyway,) don't change.
-
- i.e.: (see the drawing below:)
-
- ________ _______
- OC1 (active low pulse): |_|
-
- ICx input ________________ ____
- (triggering on falling edge: |_|
-
- ICx triggered at point T: .................T.....
-
-
- Difference in times: |-- d --|
-
-
- When <d> becomes very small, the value from the input capture being
- tested 'freezes'; it stops at a value and doesn't change. It seems
- to work fine when <d> is fairly long, and <d> is different for each
- input capture.
-
- Is the chip stuffed? (worst fears :-< )
- or is there something else not quite as serious that I've overlooked ( :-| )
-
- Any help PLEASE!!!
-
- Geoff Thomas
-