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.

TMS320F28377D turn ADC into 16bit mode (repost)

Hello!

I have done the procedure below in order to turn the ADC mode into 16bit, but it doesn't work. After hitting twice the run button, the value for DevCfgRegs.PERCNF1.all passes from 0x0000 to 196623 instead of 0. Do you have the solution?

*Connect to the device
*Perform a debugger reset in CCS
*Set a hardware breakpoint at the reset vector in the dissasembly (current location of the PC)
*Load the symbols for the test program to CPU1
*Manually reset the device via XRSn
*View DevCfgRegs.PERCNF1.all in expressions window (may require refresh if already in window)
*Write 0x0000 to above register
*Hit run twice in CCS, should end at "ESTOP0"
*Load test code
*Run test code
*Further code can be loaded and run without issue until power cyle/XRSn reset
Regards,

  • Aymeric,

    Those instructions should work.  Here's a similar sequence that I have used successfully:

    1. Power board off, then on
    2. Connect with CCS
    3. Load a program
    4. Perform a CCS CPU Reset
    5. Set a breakpoint at reset (0x3FEAC2)
    6. Perform an XRSn Reset
    7. View DevCfgRegs.PERCNF1.all and expect 0x00000000 (refresh if necessary)
    8. Write 0 to DevCfgRegs.PERCNF1.all
    9. Hit CCS Run twice (should halt at 0x3FDC65)
    10. Reload program and run

    -Tommy

  • Thank you,

    Indeed it works, but I need to wait for some minutes between when I perform the XRSn Reset and when I hit Run twice otherwise I have the same problem than explained before.