- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys!
I'm having a problem with the I2C lines. When they are low the microprocessor starts to reset. Do you know if this is a normal behavior?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I don't think the low level of I2C lines itself can cause MCU reset.
But off my head a couple of possibilities are
(1) You have WDT (Watch Dog Timer) enabled and while the MCU is waiting for I2C line,
WDT timer expires.
(2) If you have no or very little resistor for pull-up, and if the I2C pins are connected to GND,
It may cause over current.
If you can check RES_CAUSE register (0x40030054)
Bit[4] : RESET_SOFT / Software Reset
Bit[3]: RESET_PROT_FAULT / Protection Violation
Bit[0]: RESET_WDT / Watch Dog Timer
If you can attach your project or a simple project which can reproduce the problem
it would be easier for others to trouble shoot the issue.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I don't think the low level of I2C lines itself can cause MCU reset.
But off my head a couple of possibilities are
(1) You have WDT (Watch Dog Timer) enabled and while the MCU is waiting for I2C line,
WDT timer expires.
(2) If you have no or very little resistor for pull-up, and if the I2C pins are connected to GND,
It may cause over current.
If you can check RES_CAUSE register (0x40030054)
Bit[4] : RESET_SOFT / Software Reset
Bit[3]: RESET_PROT_FAULT / Protection Violation
Bit[0]: RESET_WDT / Watch Dog Timer
If you can attach your project or a simple project which can reproduce the problem
it would be easier for others to trouble shoot the issue.
moto