single wire interface communication
NAPA AID com
HW circuit
AID MASTER: receiver: AID-bus to BUF to MCU thransmiter: MCU to NOR-BUF to mos-gate to mos-drain(AID-bus) + pull-up res to V_DD
AID SLAVER: receiver: AID-bus to BUF to MCU thransmiter: MCU to NOR-BUF to mos-gate to mos-drain(AID-bus)
AID slaver BOOOOM: Cap:100pF 25V C0G ATCPZ003-UUCZ ATMEL ROSWELL AUTH MFi AS3616A-AFCT-13 BIGTEN
I2C IF: ATCPZ003-MXHDB ATMEL ROSWELL AUTH MFi
HW timing @DY
0: low:8.2us high:2.8us 1: low:2.8us high:8.2us
my test result :baudrate 1M
串口时序:1M baudrate 1起始位 8位数据 2停止位 无校验 -> All 11bits: START 1bit + 8bits数据 + 停止位2bit(拉高~2us)
个人测试: 0:0x00(低9高2) 0x80(低8高3) 1:0xFE(低2高9) 0xFC(低3高8)
TI HDQ uart handle:
Receiver: logic 0: 0x80 0xC0 0xE0 0xF0 logic 1: 0xFE 0xFC
Transmit: logic 0: 0xC0 logic 1: 0xFE
Judge: logic 0: <= 0xF8 logic 1: > 0xF8
AT21CS01 AT21CS11 Routine (SWI EEPROM)
High-Speed 0:low 1us high 14us 1:low 10us high 5us
Standard Speed 0:low 4us high 41us 1:low 24us high 21us
AC measurement conditions for the table above: – Loading capacitance on SI/O: 100 pF – RPUP (bus line pull-up resistor to VPUP): 1 kΩ; VPUP: 2.7V
AT21CS11 DC Characteristics: R_PUP min:0.2 — max:1.8 kΩ @VPUP = 2.7V R_PUP 0.4 — 5.4 kΩ @VPUP = 4.5V C_BUS max:1000 pF Input Low Level(3)(4) VIL –0.6 — 0.5 V Input High Level(3)(4) VIH VPUP x 0.7 — VPUP + 0.5 V
AT21CSxx DS
AT21CS11 Plot
AT21CS11 CODE
作者:EnzoSun
微信关注:勿忘初兴
本文出处:http://sunduoze.github.io/post/Single_wire_comm/
文章版权归本人所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
Sun's Blog