- LockLost问题
- 配置如下
# INTR_CTL_FPD4_PORT0 -> 使能IE_RX_LOCK_DET_INT & IE_RX_LOCK_LOST_DET_INT
i2cwrite(0x40, 0x24)
i2cwrite(0x41, 0x8c)
i2cwrite(0x42, 0x48)
# INTR_CTL_FPD4_PORT1 -> 使能IE_RX_LOCK_DET_INT & IE_RX_LOCK_LOST_DET_INT
i2cwrite(0x41, 0x9c)
i2cwrite(0x42, 0x48)
# INTERRUPT_CTL -> 使能INTB_PIN_EN & DEVICE_INT_EN & IE_FPD_TX1 & INT_FPD_TX0
i2cwrite(0x51, 0x8f)
# 断开983-984之间线束连接
# INTR_STS_FPD4_PORT0 -> 读取 IS_RX_LOCK_LOST_DET_INT -> 并无中断
i2cwrite(0x40, 0x24)
i2cwrite(0x41, 0x8d)
i2cread(0x42)
# INTR_STS_FPD4_PORT1 -> 读取 IS_RX_LOCK_LOST_DET_INT -> 并无中断
i2cwrite(0x40, 0x24)
i2cwrite(0x41, 0x9d)
i2cread(0x42)
# GENERAL_STS -> 读取LINK_LOST -> 可以读取到LINK_LOST flag,datesheet中提到的CRC ERROR RESET in register 0x04去手动clear该flag,但是datasheet中并无0x04 register
i2cwrite(0x2d, 0x01)
i2cread(0x0c)
i2cwrite(0x2d, 0x12)
i2cread(0x0c)
# INTERRUPT_STS -> 读取GLOBAL_INT & DEVICE_INT & IS_FPD_TX1 & IS_FPD_TX0 ->并无中断status
i2cwrite(0x2d, 0x01)
I2cread(0x52)
i2cwrite(0x2d, 0x12)
I2cread(0x52)
- 配置如下
- LineFault问题
- 配置如下
# Enable PORT0, PORT1 LINK_DETECT respectively -> 不确定这个是不是LineFault中断使能,没找到其他相关的
i2cwrite(0x40, 0x24)
i2cwrite(0x41, 0x88)
i2cwrite(0x42, 0x01)
i2cwrite(0x41, 0x98)
i2cwrite(0x42, 0x01)
# INTERRUPT_CTL -> 使能INTB_PIN_EN & DEVICE_INT_EN & IE_FPD_TX1 & INT_FPD_TX0
i2cwrite(0x51, 0x8f)
# 断开983-984之间线束连接
# LOCAL_INT_STS -> 读取INTERRUPT_LINE_FAULT -> 并无中断
i2cwrite(0x2d, 0x01)
i2cread(0x87)
i2cwrite(0x2d, 0x12)
i2cread(0x87)
- 配置如下
- ADC读取问题
- 配置
# 使能ADC_INPUT_EN_TEMP
i2cwrite(0x40, 0x38)
i2cwrite(0x41, 0x07)
i2cwrite(0x42, 0x01)
i2cwrite(0x41, 0x08)
i2cwrite(0x42, 0x00)
# 使能ADC_MODE -> 使能之后,是可以多次读取ADC值,还是每次使能只能读取一次,多次读取ADC需要反复使能?是如何确定ADC转换完成的?
i2cwrite(0x41, 0x0d)
i2cwrite(0x42, 0x80)
# 读取TEMP_FINAL -> 读取结果完全不对
i2cwrite(0x41, 0x13)
i2cread(0x42)
- 配置
- LineFault 如何确认具体LineFault错误类型,看datasheet只是知道通过adc来判断,但是具体流程不明
- 读取哪个内部故障寄存器,可以判断宕
Amy Luo:
您好,
感谢您对TI产品的关注!由于DS90UB983 产品属于信息受限制(NDA)产品,建议您将问题发布在E2E英文技术论坛上(https://e2e.ti.com/support/interface-group/interface/f/interface-forum),将由资深的英文论坛工程师为您直接提供帮助。