ALPU加密芯片调试的数据读写流程
时间:2023-02-27 阅读:275
ALPU 加密IIC数据读写流程
1、IIC写数据结构 见下图
(图) IIC Write Packet Structure
S: StartD/A:Device Address(Slave Address)7bits
W:Device Address Write bit(0)
A:Acknowledge
S/A: Sub Address
Data0~n:Write Data
P:Stop
(图) IIC Read Packet Structure
S:StartD/A:Device Address(Slave Address)7bits
W:Device Address Write bit(0)
A:Acknowledge
S/A:Sub Address
Sr:Repeated Start(Non-Stop)
R:Device Address Read bit(1)
Data0~n:Write Data
P:Stop
ALPU加密芯片One-wire(ART)数据读写流程
1、ART写数据结构 见下图
(图) ART Write Packet Structure
ART:Adaptive Reference Time
SP:Start Preamble
D/A(W):Write Device Address
S/A: Sub Address
Data0~7:Write Data(8 Bytes)
EP:End Preamble
2、ART读数据结构见下图
图 ART read packet Structure
AWU:ART Wake UpART:Adaptive Reference Time
SP:Start Preamble
D/A(W):Write Device Address
S/A:Sub Address
Sr:Repeated Start
Data0~9:Write Data(10Bytes)
EP:End Preamble