This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TMDSLCDK6748: I2C driver error in McASP Example.

Part Number: TMDSLCDK6748
Other Parts Discussed in Thread: OMAPL138

Tool/software: TI-RTOS

Hi,

I want to sample the data coming from LINE IN and send it back to LINE_OUT. I tried  to do it by adding this line to the example code:

AIC31SampleRateConfig(CSL_MCBSP_1_CTRL_REGS, AIC31_MODE_ADC, 24000);

when I debug it, I get this Error:

Error: [C66xx_0] xdc.runtime.Main: "src/I2C_drv.c", line 146: assertion failure
xdc.runtime.Error.raise: terminating execution.

When I remove the AIC31Sample RateConfig(), I don't get the error.

I already referred to this thread and did not understand the solution: e2e.ti.com/.../694620

My questions:

1) How do I get rid of this error and sample the data(please tell me if I am doing something wrong)?

2)In the Device Driver documentation, there is nothing written about AIC31 related functions, where to find it?

3) when i am running the McASP example Code on the LCDK, why it is sending back data with lots of noise? (I did not change anything in the example)

P.S: Please try to answer my questions individually.