AM273x MCU+ SDK  08.02.00
CBUFF_InitCfg Struct Reference

Detailed Description

CBUFF Initialization Configuration.

The structure describes the configuration which is required to initialize the CBUFF Driver.

Data Fields

CBUFF_OutputDataFmt outputDataFmt
 This is used to specify the LVDS/CSI2 output format. More...
 
uint8_t enableECC
 Enable/Disable the ECC in the CBUFF module. More...
 
uint8_t crcEnable
 In order to ensure data integrity of data transfer from ADC buffer to CBUFF there is a CRC computed and this checked for integrity in the hardware at both the source (ADC Buffer) and destination (CBUFF) More...
 
uint8_t maxSessions
 This is the maximum number of sessions which can be supported for the CBUFF Instance. This value needs to be >= 1 and < CBUFF_MAX_NUM_SESSION. Any other value will result in an invalid argument error. More...
 
bool enableDebugMode
 This is a flag which if set to true will register the ISR to track Frame Start/Done and Chirp done. More...
 
CBUFF_Interface interface
 The interface over which the CBUFF module will send out the data. More...
 
CBUFF_LVDSCfg lvdsCfg
 LVDS Initialization configuration: This needs to be specified if the interface is configured to be LVDS. More...
 

Field Documentation

◆ outputDataFmt

CBUFF_OutputDataFmt CBUFF_InitCfg::outputDataFmt

This is used to specify the LVDS/CSI2 output format.

◆ enableECC

uint8_t CBUFF_InitCfg::enableECC

Enable/Disable the ECC in the CBUFF module.

◆ crcEnable

uint8_t CBUFF_InitCfg::crcEnable

In order to ensure data integrity of data transfer from ADC buffer to CBUFF there is a CRC computed and this checked for integrity in the hardware at both the source (ADC Buffer) and destination (CBUFF)

◆ maxSessions

uint8_t CBUFF_InitCfg::maxSessions

This is the maximum number of sessions which can be supported for the CBUFF Instance. This value needs to be >= 1 and < CBUFF_MAX_NUM_SESSION. Any other value will result in an invalid argument error.

◆ enableDebugMode

bool CBUFF_InitCfg::enableDebugMode

This is a flag which if set to true will register the ISR to track Frame Start/Done and Chirp done.

NOTE: Enable the debug mode will allow the statistics to increment and can be useful to ensure that the streaming is working. But this can overwhelm the system with a large number of interrupts.

Certain interrupt such as the Frame Done interrupts are required to be registered if multiple sessions are created. Switching from one session to another can only be done with the intra-frame boundary.

◆ interface

CBUFF_Interface CBUFF_InitCfg::interface

The interface over which the CBUFF module will send out the data.

◆ lvdsCfg

CBUFF_LVDSCfg CBUFF_InitCfg::lvdsCfg

LVDS Initialization configuration: This needs to be specified if the interface is configured to be LVDS.