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.

PeripheralAddress_ASM.h issue

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I created my project and began to debug F28035/CCSv4/XDS560, I write registers, run the program and watch the "Registers" window, found that the register listed didn't change its value. I found the file "PeripheralAddress_ASM.h" has not been intergrated yet, and then I add it to my project,  but still not work.

so could anyone tell me how to use this file? should I also use "#include"? or other methodes?

Regards,

Felix

  • Felix,

    The PeripheralAddress_ASM.h file is an assembly-language based file.  By including this file to an assembly file, you can then edit registers indirectly without needing to know specific register addresses.

    If your code is in C, I would recommend using the peripheral header files which define the registers as C structs.  The files for this are in your controlSUITE directory (assuming you've downloaded controlSUITE) at:
    C:\TI\controlSUITE\device_support\f2803x\v124

    I would also recommend taking a look at some of the example projects to see how the peripheral header files are used.  You can then base your project on one of these projects.  These can be found at:
    C:\TI\controlSUITE\device_support\f2803x\v124\DSP2803x_examples_ccsv4


    Thanks,
    Brett

  • Hi Brett,

    Thanks a lot!

    Regards,

    Felix