Why does the Sequencer keep writing to the wrong registers?
  • Verify that you are using the register index numbers to address the registers in the Sequencer. These index numbers are based on the order of the registers in the DDF file starting at 0.
  • Let's say these entries were the first register listings in the DDF.
[REGISTER]
[REG NAME] "I2C REG 1"
[REG ADDR] 0x00
[REG SIZE] 1
[REG TYPE] RO
[REGISTER]
[REG NAME] "I2C REG 2"
[REG ADDR] 0xE8
[REG SIZE] 1
[REG TYPE] RW
  • So in order to read from the register at 0x00 in the sequencer, the command would be invoked:
    READ REG[0] LOG("[Insert Comment Here]")
  • But in order to read from the register at 0xE8 in the sequencer, the command would be invoked:
    READ REG[1] LOG("[Insert Comment Here]")
  • If you are uncomfortable using this method of addressing registers, the MEM token can be used in place of the REG token for absolute addressing of registers. The REG token is intended as a matter of convenience for those who prefer relative addressing.