Skip to content

Commit 08ef034

Browse files
committed
reset I2C_WAKEUP_EN bit with Clock reset
1 parent ee2f7ce commit 08ef034

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_RDA/TARGET_UNO_91H/rda_ccfg_api.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ void rda_ccfg_ckrst(void)
233233
/* Config BUS clock */
234234
val &= ~(0x01U << 9);
235235
val |= (0x00U << 9); /* 1'b0:40M, 1'b1:80M */
236+
237+
val |= (0x01U); /* clear i2c_wakeup_en */
236238
wr_rf_usb_reg(0xA4, val, 0);
237239
}
238240

0 commit comments

Comments
 (0)