Flipped polarity of output enables to match Guava pins logic
此提交包含在:
@ -182,10 +182,10 @@ trait I2CModule extends Module with HasI2CParameters with HasRegMap {
|
||||
}
|
||||
|
||||
val sclOen = Reg(init = true.B)
|
||||
io.port.scl.oe := sclOen
|
||||
io.port.scl.oe := !sclOen
|
||||
|
||||
val sdaOen = Reg(init = true.B)
|
||||
io.port.sda.oe := sdaOen
|
||||
io.port.sda.oe := !sdaOen
|
||||
|
||||
val sdaChk = Reg(init = false.B) // check SDA output (Multi-master arbitration)
|
||||
|
||||
|
新增問題並參考
封鎖使用者