- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to ask everyone a question: When using LPM_counter module, only the CLK count port was used, and no reset port was used. The product started running normally, but random values would appear when powered on a few years later. There are only a few products with problems, and a total of several hundred products. After using the reset port, the problem was resolved. May I ask what is the reason for the problem? thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
all core registers are reset by power-on reset. Is the respective counter clocked by an external clock already running during power-on or by a PLL generated clock? In the former case, it's likely to get inconsistent random counter values because POR isn't released synchronously. In the latter case, counter will hopefully start from zero after PLL clock start. If the counter isn't directly driven from a clk but internal logic, things are more complicated.
Generally, use synchronously released reset for all registers to avoid similar problems.
Regards
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply! my clock is an external clock. I would like to ask whether the probability of the occurrence of random value will increase with the increase of the use time of the product? Because there was no problem in the beginning, it took a few years before there was a problem. The probability of problems after replacing the chip in the later experiment is greatly reduced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And there are also many products that have not have problems .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have any further update or concern?
Thanks,
Best Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
just a guess, power supply start timing may have changed, e.g. due to aging of capacitors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YES!My clock is an external clock. I would like to ask whether the probability of the occurrence of random value will increase with the increase of the use time of the product? Because there was no problem in the beginning, it took about six years before there was a problem. And there are also many products that have not have problems .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reset should always be used to get the logic in a known state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There're so many factors can cause the problem over time such as power-on behavior or voltage levels variations over time, changes in temperature or aging of components, Noise and Interference. Probably better to have reset to initialize the counter to a known state.
Thanks,
Best Regards,
Sheng
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page