Post Go back to editing

REGISTER MONITOR ON SIGMA STUDIO

Category: Software
Product Number: AD2435W
Software Version: SIGMA STUDIO 4.6

Hello, 

I am working with Sigma Studio with the following A2B network:

- Master node: EVAL-AD2435WA3LZ

- Slave node: ADZS-AD2435MINI connected via I2C to a class D amplifier

I would like to monitor the status of some amplifier registers, so I have added the amplifier register I would like to check to the Fields to Monitor in the Target processor monitor, with time interval of 5s.

But, I am not able to get the values of the registers, I always get a blank column, as you can see in the picture below.

  

Moreover, during the monitoring, I get some error on the master board (e.g., "Line fault error" or that the master board is disconnected), but I think they are not real errors, since the system is working and can play sound.

The only values I can get with the monitor are the values of the registers of the audio host, which is directly connected to the PC (target processor).

Should I be able to read also the amplifier registers with this monitor? Or are there any other methods to perform periodic reading?

  • If you would like to read some value from the remote peripheral of the sub nodes.

     You can try to use Direct programming under the Target Processor-> Device Properties. 

    You should program the NODE.NODEADR register of the main node with the main node address and then program the CHIP register of the subnode using the Bus Address I2C address. (enable PERI.NODEADR  program during the Peripheral access). Now you should be able to access the remote peripheral access using the I2C bus Address. 

  • I am trying to program the master node NODE.NODEADR register, but when I try to read back the vaklue I have written, I get 0x80AD or 0x80, according to 8- or 16-bit address width selected. Indeed, I see in the Capture Window that there is a continuous Block Write that sets the NODEADR to 0x80. This happens only when the PC is connected via I2C to the master board, instead of via SPI as default in the demo, but if I have well understood, it is necessary to connect via I2C to use the Monitor function.

    What's wrong with that?

    In the pictures below, the captures of what I see in the Direct Programming tab and in the Capture window.

     

  • You can keep the Data Width =1. So its easy to read/write just the specific register alone.