- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
for given example project attached below, up counter appears not to take in account the first rising edge on the count input, scope shot attached.
How to fix this?
BR Uros
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @UrPl_1236626,
I have configured the 'DESER_SMPCNT' counter for period = 4, compare = 1. This means at every 5 pulses the compare will be generated for Pin_1. The scope snapshot is as follows:
Can you please let me know the exact issue, you are facing?
Thank you
Best Regards
Raj Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Raj,
please use our initial project with the code.
Problem is that with compare = 0, and period =<whatever big> , the counter does not increment on the first rising edge on the count input, as you may see from our scope shot, but on the 2nd.
This problem is when counter is started --- we are not interested in anything else than the start here.
BR Uros