|
Forum Index : Microcontroller and PC projects : Armite L4 counting
| Author | Message | ||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6353 |
Nucleo STM32L432 I am seeing double when I try to use both counting pins. Whichever pin I pulse , both internal counters increase. I have got around the problem by using an interrupt for one of the counters but there is something fishy going on. I use a 10k pullup resistor on each to V+ and capacitors across the inputs. I also tried a pulldown resistor instead but both counters still increment in unison. I can't see any glitches with my CRO. Jim VK7JH MMedit |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
I think I had got my Ors and my ANDs mixed up. Please try attached - untested 2019-03-16_174719_ArmmiteL4.zip |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6353 |
Much better thank you. Jim VK7JH MMedit |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |