mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
turns out it helps if you put explicit pull-ups on the I/Os
reverting this change
This commit is contained in:
parent
a3619618d0
commit
ffb00cf6ad
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ pub fn i2c_test() -> usize {
|
||||||
// configure & run the 0th machine
|
// configure & run the 0th machine
|
||||||
// 400kHz clock -> 100kHz toggle rate = 0x7D0_0000 @ 800MHz rate FCLK
|
// 400kHz clock -> 100kHz toggle rate = 0x7D0_0000 @ 800MHz rate FCLK
|
||||||
// 1600kHz clock -> 400kHz toggle rate = 0x1F4_0000 @ 800MHz rate FCLK
|
// 1600kHz clock -> 400kHz toggle rate = 0x1F4_0000 @ 800MHz rate FCLK
|
||||||
bio_ss.bio.wo(utra::bio_bdma::SFR_QDIV0, 0x7D0_0000);
|
bio_ss.bio.wo(utra::bio_bdma::SFR_QDIV0, 0x1F4_0000);
|
||||||
|
|
||||||
// clear all events
|
// clear all events
|
||||||
bio_ss.bio.wfo(utra::bio_bdma::SFR_EVENT_CLR_SFR_EVENT_CLR, 0xFFFF_FF);
|
bio_ss.bio.wfo(utra::bio_bdma::SFR_EVENT_CLR_SFR_EVENT_CLR, 0xFFFF_FF);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue