SPI时序调整
This commit is contained in:
@@ -244,7 +244,8 @@ abstract class InterfaceBase extends Module{
|
||||
Seq(
|
||||
(addr === "h8".U ) -> cReg.busRate( 7,0 ),
|
||||
(addr === "h9".U ) -> cReg.spiSel,
|
||||
(addr === "ha".U & isSlvMode) -> sReg.localDevIndex,
|
||||
(addr === "ha".U & isSlvMode) -> sReg.localDevIndex(7,0),
|
||||
(addr === "hb".U & isSlvMode) -> sReg.localDevIndex(15,8),
|
||||
|
||||
|
||||
(addr === "h20".U & isMstMode) -> Cat(mReg.rxSM, mReg.txSM, 0.U(1.W) ),
|
||||
|
||||
Reference in New Issue
Block a user