Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: BOOSTXL-POSMGR, CONTROLSUITE
Hello,
I am trying to obtain the reading of an absolute encoder by implementing the PM_bissC_Lib library on a F28379D development board and a BOOSTXL-POSMGR. The goal of my project is to enable biss data collection in an interrupt. I tried to modified the example within the controlSUITE, and simply put the following content in an interrupt function. but it does not work. my questions are: 1) can I implement these functions in an interrupt? 2) how to read biss in an interrupt using the library? thanks a lot!
PM_bissc_setupNewSCDTransfer(BISS_DATA_CLOCKS, SPI_FIFO_WIDTH);
PM_bissc_startOperation();
while (bissc_data_struct.dataReady != 1) {}
if(bissc_receivePosition(BISS_POSITION_BITS, BISS_POSITION_CRC_BITS) == 0)
{
ESTOP0; //BiSS SCD CRC did not match
}
