Hello,
I am new to SYS/BIOS and I want to port the Starterware example: C:\ti\am335x_sysbios_ind_sdk_1.0.0.8\sdk\starterware\examples\evmAM335x\mcasp\ which is running well on my beaglebone board to SYS/BIOS. I am somewhat confused how to setup the edma and Mcasp interrupts/events and what part of the initialization code can be removed - I assume, that the SYS/BIOS takes care on that. I have done the setup as learned by the training sessions from "Eric Scott". See below for details on the config file. However, I get an exception in the edma module. Any idea what could be wrong ? What about the priorities? I can hear that the McASP0 is correctly initialized (noisefloor is audible).
[CortxA8] Exception occurred in ThreadType_Task.
Task handle: 0x80015168.
Task stack base: 0x800151b0.
Task stack size: 0x800.
R0 = 0x49004900 R8 = 0xffffffff
R1 = 0x00000048 R9 = 0xffffffff
R2 = 0x8001595c R10 = 0xffffffff
R3 = 0x00000000 R11 = 0xffffffff
R4 [CortxA8] = 0xffffffff R12 = 0x00108200
R5 = 0xffffffff SP(R13) = 0x80015930
R6 = 0xffffffff LR(R14) = 0x80008368
R7 = 0xffffffff PC(R15) = 0x80002994
PSR = 0x8000019f
ti.sysbios.family.arm.exc.Exception: line 174: E_dataAbort: pc = 0x80002994, lr = 0x80008368.
[CortxA8] xdc.runtime.Error.raise: terminating execution
1.) Interrupts correctly set?
2.) What about the Event id fields ?
3.) What about the Interrupt priorities?
4.) Which parts of the initialization is taken care by the SYS/BIOS, when registering a hwi for a certain interrupt ?
5.) Where should the I2S AudioLoop (copying the paramsets) be located (was in the main loop of the example) ? Should it have an own task ?