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.

TMS320F28379D: Register write access via BissC

Genius 5840 points
Part Number: TMS320F28379D


Hello,

I am running Biss-C project with my encoder and it works well.

I would like to access encoder's register and clear the multi-turn counter.

A part of encoder's specification is following.

Can we do it with Biss-C library?

Could you tell me how to do it?

Regards,

U-SK

  • U-SK,

    Unfortunately, the BiSS-C register access feature has not been implemented in our current closed library.  It will be added when we port the BiSS-C library to the CLB tool and the Motor Control SDK.  The goal for that update is currently late this year or 1Q 2021.

    Regards

    Lori

  • U-SK,

    Looks like I gave you incorrect information and this is implemented in the current library.  There is an example of reading a register in the main while() loop of the system example:

    		{
    
    			bissc_data_struct.cd_register_xfer_address = 0x7E;
    			bissc_data_struct.cd_register_xfer_is_write = 0;
    			bissc_data_struct.cd_status = 0;  //arm new
    			bissCDCounter = 1000;
    		}

    In your case, change register_xfer_is_write to 1, and set the appropriate register_xfer_address and set cd_register_xfer_txdata values.

    Regards

    Lori