Part Number: TMS320F280037C
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Tool/software:
The CLB_HLC_EVEMT_SEL register, as shown in Figure 32-47 in SPRIW9C, directs you to the Static Switch Block Output Mux Table for field definitions. I can't find a table with that name. Does anyone know where it is?
I'm having trouble getting a filtered GPIO input into the HLC. I am using the steps outlined at the end of section 9.1 of SPRACL3 to configure the input signal path and using syscfg to set the HLC event inputs to Boundary input 0,1, and 2.
GPIO_setAnalogMode(252U, GPIO_ANALOG_DISABLED);
GPIO_setPinConfig(GPIO_252_GPIO252);
GPIO_setMasterCore(252U, GPIO_CORE_CPU1);
GPIO_setDirectionMode(252U, GPIO_DIR_MODE_IN);
GPIO_setPadConfig(252U, GPIO_PIN_TYPE_STD);
GPIO_setQualificationMode(252U, GPIO_QUAL_ASYNC);
//CLB
XBAR_setInputPin(INPUTXBAR_BASE,XBAR_INPUT1, 252U); //use xbar input to route to CLB
// Configure CLB-XBAR AUXSIG0 as INPUT1
XBAR_setCLBMuxConfig(XBAR_AUXSIG0, XBAR_CLB_MUX01_INPUTXBAR1);
XBAR_enableCLBMux(XBAR_AUXSIG0, XBAR_MUX01);
CLB_configLocalInputMux(CLB1_BASE, CLB_IN0, CLB_LOCAL_IN_MUX_GLOBAL_IN);
CLB_configGlobalInputMux(CLB1_BASE, CLB_IN0, CLB_GLOBAL_IN_MUX_CLB_AUXSIG0);
CLB_configGPInputMux(CLB1_BASE, CLB_IN0, CLB_GP_IN_MUX_EXTERNAL);
Syscfg defines TILE0_HLC_EVENT_SEL = 0x6b38. That sets event 0 to 24 which doesn't make much sense based on any table I can find.
Thanks