Other Parts Discussed in Thread: DS125DF111EVM, , DS110DF111
Hi Team,
Please advice me on configuring DS110DF410 in Manual EQ and CDR bypass mode.
Referring the datasheet, I created a script as shown bellow.
The DS110DF410 moves into an intended mode.
However, I faced a problem.
The DS110DF410 output was intermittently muted for about 5 us.
This occurred several times in about 10 ms.
Please help me resolving this problem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import smbus
import time
import math
bus = smbus.SMBus(1)
# DS119DF410 I2X buss addres = 0x30
i2c_address = 0x30
EQ1 = 0x00
# Config DS110DF410 CH0
bus.write_byte_data(i2c_address/2, 0xff, 0x04)
# Set EQ in manual mode
value = bus.read_byte_data(i2c_address/2, 0x31) # EQ Mod = No Adaptation
value = (value & 0x9f) | 0x00 # Mask = 0x60
bus.write_byte_data(i2c_address/2, 0x31, value)
bus.write_byte_data(i2c_address/2, 0x3a, EQ1) bus.write_byte_data(i2c_address/2, 0x03, EQ1)
bus.write_byte_data(i2c_address/2, 0x0a, 0x1c) # RESET CDR
time.sleep(0.001)
bus.write_byte_data(i2c_address/2, 0x0a, 0x18) # De-Assert RESET CDR
time.sleep (0.02)
# Set CDR in bypass mode
bus.write_byte_data(i2c_address/2, 0x09, 0x20) bus.write_byte_data(i2c_address/2, 0x1e, 0x09)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mita