AM263Px Motor Control SDK  2025.00.00
bissc_ctrl_res Struct Reference

Detailed Description

Structure defining BiSS-C Channel specific control communication results.

Contains results from encoder register read/write operations including the register data (CDS response), CRC error count, and CRC validation values. Updated by PRU firmware after control communication completes.

Data Fields

volatile uint32_t ctrl_crc_err_cnt
 
volatile uint8_t ctrl_cds_res
 
volatile uint8_t ctrl_rcvd_crc
 
volatile uint8_t ctrl_otf_crc
 

Field Documentation

◆ ctrl_crc_err_cnt

volatile uint32_t bissc_ctrl_res::ctrl_crc_err_cnt

Cumulative control communication CRC error count for this channel. Incremented whenever control response CRC validation fails

◆ ctrl_cds_res

volatile uint8_t bissc_ctrl_res::ctrl_cds_res

CDS response.

◆ ctrl_rcvd_crc

volatile uint8_t bissc_ctrl_res::ctrl_rcvd_crc

4-bit CRC received from encoder with the control communication response.

◆ ctrl_otf_crc

volatile uint8_t bissc_ctrl_res::ctrl_otf_crc

On-the-fly calculated 4-bit CRC for control communication response. Computed by PRU firmware for comparison with received CRC