Other Parts Discussed in Thread: LAUNCHXL-F28379D,
Is the source file for the PM_bissC_Lib.lib available?
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.
Is the source file for the PM_bissC_Lib.lib available?
Hi,
Thank you for responding. Unfortunately without the source, how can I configure this library for other configurations? It looks like this library always assumes that it has a crc, but we have come across an encoder that has no crc. How do we disable the crc check in the library?
Are there no possibility of getting this source file? We are willing to sign an NDA.
We also have a need to support two BiSS encoders. Can this library support two encoders? Would you have an example of the LaunchXL-F28379D and BOOSTXL-POSMGR supporting two BiSS encoders?
Any help on this would be appreciated.
I recall the CRC being part of the example code and not the library? Can you double check.
TI's example doesn't support multiple encoders.
-Lori
Hi,
Yes you are right. PM_bissc_getCRC is a function found in the library. I suppose we just don't need to call this function if there was no crc right?
This is the code I see in bissc.c file in the function bissc_receivePosition.
crcResult = PM_bissc_getCRC(0, positionBits+2, BISS_SCD_CRC_NBITS_POLY1, (uint16_t *)&bissc_data_struct.scd_raw, bissCRCtableSCD, numWordsPosCrc);
mask = (1 << crcBits) - 1;
if(crcResult == ((~bissc_data_struct.scd_crc) & mask))
{
//crc was correct, so lets populate the following
bissc_data_struct.scd_error = (~bissc_data_struct.scd_raw) & 0x00000001;
bissc_data_struct.scd_warning = ((~bissc_data_struct.scd_raw) & 0x00000002) >> 1;
bissc_data_struct.position = bissc_data_struct.scd_raw >> 2;
receiveSuccessful = 1;
}
else
{
receiveSuccessful = 0;
bissc_data_struct.crc_incorrect_count++;
}
Also, are there any plans to have an example code to support multiple encoders?
Thanks again.
Hi,
Sorry for the inconvinience, the subject matter expert is OOO and will be back by 11/07.
Best,
Uttam
The BiSS-C specification doesn't mention anything about the protocol without the CRC. You will likely need to adjust the number of MA clocks. The error, warning and position are probably in the same locations in the response. The specification should tell you for sure.
-Lori
Also, are there any plans to have an example code to support multiple encoders?
No, we do not have plans for this as of now.