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.

AFE8000EVM: Extract register status with address.

Part Number: AFE8000EVM
Other Parts Discussed in Thread: AFE8000

Hi, 

I have the AFE8000EVM setup and configured correctly via the GUI and via scripts for our current needs.

What I want to do now is extract each of the internal register status and dump them into a file with the address it has come from.

That way correct setup can be  checked via the USB connection and in the future directly by SPI.

Is there a way to do do this via the GUI, a script command, via the terminal ??

Thanks in advance.

  • Hi Oliver,

    It is not possible to extract all of the internal registers in the AFE8000 as there are some registers that are only written to through MACRO commands.

    If you are only trying to monitor the status of the AFE8000 you could monitor the alarm pins and registers.

    You could also refer to the log file that the GUI generates to see the value that was written into the registers.

    Is there something in specific that you are trying to monitor?

    Best,

    Camilo

  • Hi Camilo,

    Fancy bumping into you here, great to hear from you and I hope you are well.

    We are currently writing up some thorough test plans for our intended implementation. We are trying to make sure that the setup would be the same if we were to program the AFE8000 via the USB (GUI or script) or via an SPI, if we were able to get a setup register state dumped to file then we would be able to compare the registers to confirm setup is exactly the same.

    My understanding is that this is not possible unfortunately.

    For context we have a TI LMK evaluation board which I am told has the functionality to get a register readout which is why I asked about the AFE.

    Kind regards

    Oliver Forbes-Shaw

  • Hi Oliver,

    I am doing well, and I hope you are too.

    In that case, as long as you do the same writes as the ones in the log file the setups should be effectively the same. During the bringup, there are also read checks and polls that would alert you if there is anything wrong with the bringup. You could also monitor the status of the JESD links to make sure that the device was configured properly.

    But if you really need something close to the register state, you could try reading all the registers that are accessible in the “AFE80xxPG1_TRM_SBAU354_4th_March_2021” document in the secure folder. But this would not be really recommended.

    Best,

    Camilo