Dear All,
I've been trying to configure the McBSP of our OMAP L138 LCDK by using the McBSP_SlaveExample which is available on the following directory:
ti\pdk_OMAPL138_1_01_00_02\packages\ti\drv\exampleProjects\MCBSP_SlaveExampleProject
The example runs without any problem, however, I have the following questions:
1. Is there any tutorial, beside the McBSP user manual which explains the functions used in this example?
2. The following is a function called in the "MCBSP_SlaveExampleProject_main.c" file. Do I need to manually change these pinmux configurations? If yes, how should I do it?
void configureMcbsp(void) { CSL_SyscfgRegsOvly syscfgRegs = (CSL_SyscfgRegsOvly)CSL_SYSCFG_0_REGS; syscfgRegs->PINMUX1 &= ~(CSL_SYSCFG_PINMUX1_PINMUX1_7_4_MASK | CSL_SYSCFG_PINMUX1_PINMUX1_11_8_MASK | CSL_SYSCFG_PINMUX1_PINMUX1_15_12_MASK | CSL_SYSCFG_PINMUX1_PINMUX1_19_16_MASK | CSL_SYSCFG_PINMUX1_PINMUX1_23_20_MASK | CSL_SYSCFG_PINMUX1_PINMUX1_27_24_MASK | CSL_SYSCFG_PINMUX1_PINMUX1_31_28_MASK); syscfgRegs->PINMUX1 = 0x22222220; }