15: Target error from Register access
15: Target error from Register access
Wire ACK Fault in DAP access
Debugging context: Analog Testing_spi_interrupt LinkServer Debug
Hi all, I am getting the error shown above ^^^. The culprit is the "CTIMER4" in the following function: CTIMER_Init(CTIMER4, CTIMER_config). When I replace "CTIMER4" with 0, I don't receive this error. Can anyone help me out?
Hello caden013,
Yes, As Frank said, please first check have you enable CTIMER4 clock.
If still has issue, please share your whole project.
BR
Alice
Perhaps you need to enable the clock to the peripheral first ?
The peripheral unit needs to be enabled first (including the clock), before you can access the register. Other MCUs throw hardfaults if you try to access registers in non-clocked peripherals.
For my MCU (LPC546xx), the respective SDK call is CLOCK_AttachClk() in fsl_clock.c.