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.

TMDXIDDK379D: Reading 36bit BISS-C encoder

Part Number: TMDXIDDK379D
Other Parts Discussed in Thread: TMDSCNCD28388D, TMS320F28388D

Hi experts,

First of all, I'm new to CCS and to the TMDXIDDK379D.

I have a Renishaw Resolute encoder 36bits with biss-c interface. I've followed the guide "Using Position Manager BiSS-C Library On IDDK Hardware", step by step, but it seems like I've gotten some errors.

The only change I made to the original project was:

The errors I've got:



I pressed Rude Retry and kept going.


The code suddenly stopped here.

Thanks,

Victor

  • Hello Victor,

    This is a limitation of the CRC algorithm in the library.  In this thread I posted the CRC source if you would like to modify it.

    Best regards

    Lori

  • Hi Lori,

    I've added the code you posted in the previously mentioned post, and I've gotten some errors:

    -Added code: Bissc.c file

    -Added code: pm_bissc_crc.c file



    -Error messages


    I've maintained the numWordsPosCrc = ((positionBits+2)/8)+1; instead of numWordsPosCrc = ((positionBits + BISS_ERROR_BITS + BISS_WARNING_BITS)/8)+1;

    Because I only have 1 error bit and 1 warning bit, so I see it a bit pointless to have them as variables.

    With that I'm only left with the numBitsPosCrc is undefined error.

    Should I change the PM_bissc_getCRC function name on the bissc.c, pm_bissc_crc.c and PM_bissc_Include.h files to avoid any problems with the PM_bissC_lib.lib library?

    I bought one TMDSCNCD28388D to develop a drive with Ethercat for VCM (voice coil motor) and PMSM but I saw in other posts that the TMS320F28388D can't read BISS-C.

    Is it possible to get the BISS-C encoder working on the TMS320F28388D? 

    Best regards,

    Victor

  • Victor - yes you would have to create a different function that supported higher bit CRC and call it instead of the library function. We currently do not have a library for F28388x available.