Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I2C_ADDR=0x4C # 0x34 >> 1
- BUS=1 # usually /dev/i2c-1
- # Wake-up Register
- i2cset -y $BUS $I2C_ADDR 0x02 0x81
- # Debugged after being 0x31, fixed jitter
- i2cset -y $BUS $I2C_ADDR 0x07 0x30
- i2cset -y $BUS $I2C_ADDR 0x13 0x80
- i2cset -y $BUS $I2C_ADDR 0x14 0x48
- # Setting GPIO1 to be an MCLK input
- i2cset -y $BUS $I2C_ADDR 0x21 0xa0
- # Start the external oscillator
- gpioset gpiochip0 16=1
- # izchakvane 100ms
- sleep 0.1
- # Setting GPIO1 to be an MCLK input
- i2cset -y $BUS $I2C_ADDR 0x21 0xa0
- # Activating Inputs
- i2cset -y $BUS $I2C_ADDR 0x73 0xf0
- # Activating ASI TDM outputs
- i2cset -y $BUS $I2C_ADDR 0x74 0xff
- # Power Supply for ADC, MICBIAS and PLL
- i2cset -y $BUS $I2C_ADDR 0x75 0xe0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement