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.

CCS/UCD3138: Absolute Value Register

Part Number: UCD3138

Tool/software: Code Composer Studio

Hello!
Can someone explain how UCD3138 calculate absolute value. In the Technical Reference I see this

Veadcdac = 125; Veadc (error) = 136; But ABS_VALUE = 38

Thanks

  • I believe there's actually a multiplication by a constant and an add to convert the ~1 mV resolution of the ADC to the ~1.6 mV of the DAC and combine them.  I think that it should all make sense if the everything is running, and is all steady state.  I agree that what you are seeing doesn't make sense.  

    Bear in mind that the memory debugger is pretty slow.  It reads everything 1 byte at a time, and then sends things out over the PMBus. I believe that each PMBus message only handles one word.  And there is also a delay with the USB interface that varies from PC to PC.  So you're definitely not getting an instantaneous snapshot of all the memory locations.  

    If it is steady state, please let me know your setup.  

  • Dear Ian, thank you for the clarification!
    I will keep in mind and will check on real board in steady state. If the problem persists I will create a related question.