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/PROCESSOR-SDK-AM65X: AM65xx IDK ADC

Part Number: PROCESSOR-SDK-AM65X
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi,

I was able to build the ADC example in the diag folder in the SDK. i have been trying to transplant the adc code from adc_AM65xx.c/.h into the ECAT PRU code (or any other project for that matter) but I keep running into the same runtime exception. Whenever i get to ADCGetRevisionId(baseAddress, &revId); it will crash with this output in the CIO. I'm not entirely sure what I'm missing. Reading other post about ADC it sounds like maybe my pinmux is wrong? or maybe my MMU is not setup properly? Not sure what i'm looking for to fix this issue.

[CortexA53_0_0] = 0x00000000700188d0 X3 = 0x000000007006e608
X4 = 0x000000007006e608 X5 = 0x000000000006e608
X6 = 0x000000007006e610 X7 = 0x0000000000000000
X8 = 0x0000000000000023 X9 = 0x0000000000000001
X10 = 0x0000000000000001 X11 = 0x0000000000000000
X12 = 0x0000000000000bd0 X13 = 0x0000000000000000
X14 = 0x0000000000000013 X15 = 0x00000000000000d1
X16 = 0x000000000000003a X17 = 0x0000000000400234
X18 = 0x0000000000000037 X19 = 0xffffffffffffffff
X20 = 0xffffffffffffffff X21 = 0xffffffffffffffff
X22 = 0xffffffffffffffff X23 = 0xffffffffffffffff
X24 = 0xffffffffffffffff X25 = 0xffffffffffffffff
X26 = 0xffffffffffffffff X27 = 0xffffffffffffffff
X28 = 0xffffffffffffffff X29 = 0x0000000070077740
X30 = 0x0000000000000000 SP = 0x0000000070077740
ELR = 0x000000007002efc4 ESR = 0x96000006
SPSR = 0x40000344

Data Abort: PC = 0x000000007002efc4 LR = 0x0000000000000000
ti.sysbios.family.arm.gicv3.Hwi: line 1140: E_exception: A hardware exception has occurred.
xdc.runtime.Error.raise: terminating execution

Thank you,

Steven