This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC38RF82EVM: GUI syncronization with device

Part Number: DAC38RF82EVM


Problem description

Following reset registers are updated in device. After reading state back from low level register interface registers are updated correctly in list but gui remain unchanged. Right click on field allows me to set field to default value but this has to be done for all fields manually. Also this does not allow to restart program and sync with device because default values are taken from list not read from actual registers.. I have tried all F key combinations in gui screen but both do not work. Writing register from low level interface manually updates graphic field selection value so software must be able to do it.

These are the steps that I take

1. Set values with GUI

3. Reset device.  Now all GUI fields remain as they were before what is ok because it makes not sense to read back all registers following each change.

4. Go to low level register interface and read back all registers. Register values are updated correcly but GUI remains unchanged so device state is out of sync from GUI.

The same occurs with program startup where values are populated from device defaults not read from hardware. This however would not be a problem if  read all registers would update gui fields correclty, just one extra step during program start to get GUI and device in sync between each other. 

During program start and often after operation is finished there is error popup window "Error code 23083\n Bracket problem at the end"  It allows to stop or continue, selecting continue will run program. This has posed no problams but may be indication to failure.

Question   

Is there a key combination or configuration file setting that forces GUI update after 'read all registers'  is issued from low level interface?

  • Hi,

    I expect the GUI controls to be updated when you execute Read ALL from the low level tab. However, because the GUI requires 4-wire SPI interface for readback to work, clicking Read ALL after device reset will put the SPI interface in 3-wire mode and readback will not work.

    Also, In your post, you missed step 2 so I may not have replicated the exact steps you used. Can you clarify the steps you used again if the question is not answered?

    Thanks,

    Eben.

  • This is more detailed testcase description:

    1. Power up board.
    2. Open GUI and toggle reset button on 'Quick Start' page. Now device is in sync with GUI because gui reads default register states from xml file when it comes up.
    3. From low level interface enable 4-wire SPI with setting config1 = 1880. SPI readback can be verified with first reading back config1 register what will be 'FFFF'. SIngle register write does update GUI field correctly - All single writes from low level register interface window do.
    4. Read back clock mux register - it will display correct value after reset: 0x0200 for differential input. Set single ended input form gui with 'External Clock Select' from dac Clocking panel.
    5. Read back 431 what should now be 0x2200 for single ended. Now GUI and register is in sync.
    6. Reset DAC from GUI Quick Start panel. Using EVB button breaks link.
    7. Set all SPI registers to default values with writing config0=D803, config0=5803. Reset alone does not set default states.
    8. Repeat step 3 to get SPI working. Gui clock selector is still for single ended what is OK because we have not forced any sync event to gui.
    9. Force readback of all registers, check config49 ( 431). It displays 200 for correct default state. Do not use single register readback window yet.
    10. Clock screen is not updated and selector still shows single ended inpt from previous state.
    11. Read register 431 from single register window. It displays correct value and also updates GUI screen correctly


    It seems that forcing all register readback does not update GUI while single register access window does. GU state remains unchanged also for Quick start panel 'Load Default' button and when updating registers from low level interface -> read configuration file.