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.

Code Composer Studio Viewing Address entry

Hii

I am new to code composer studio v5.5

I am using F28335 interfced with matlab. I am auto generating the code in matlab for a model (eQEP) and dumping it in ccs,

Somehow i am not confident if the qep is detecting motor position properly and so i want to see the position counter register entry in ccs (QPOSCNT).

Kindly guide a step wise way  to access the register in CCS (Plotting too if possible, although register entry would do my work). 

Note: Could not understand much form the tutorial on wiki, how the registers are named? (like to access adc, AdcBuf was written) Is there any specific format for the naming of registers in ccs? 

Regards 

Mayank

  • Moving this post to the Code Composer Studio Forum.

    Regards,
    Ryan
  • Mayank Jain70 said:
    Kindly guide a step wise way  to access the register in CCS (Plotting too if possible, although register entry would do my work). 

    You can view memory mapped peripheral registers in CCS by going to menu View->Registers, then expand the peripheral of interest. The naming of registers in this view should match up with their description in the device's Technical Reference Manual. Please check the TRM and the specific peripheral's Reference Guide for more details about the register names and their bit-fields.

    For further explanation of how the C28x device header files implement the hardware abstraction layer for accessing peripheral registers, please check this application note: Programming TMS320x28xx and 28xxx Peripherals in C/C++ (SPRAA85)