I2C lines resets CY8C4146LQI-S433

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
LYNllow
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

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?

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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

View solution in original post

0 Likes
1 Reply
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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

0 Likes