lpcware

CAN Interrupt is disabled after writing to LPC_ADC0->CR

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by hlsa on Tue Nov 10 03:35:08 MST 2015
I have a suspicious beheviour with the LPC4357JET256:

1. The CAN-Interrupt is enabled by writing to the CAN0 control register.
LPC_C_CAN0->CNTL |= CTRL_IE;
--> The CAN interrupt is enabled as expected.

2. I write to the ADC0 control register:
LPC_ADC0->CR = 0;

3. The CAN-interrupt now is disabled.

Attached find a PDF document which shows the register content.


Any ideas?


Regards,
Holger

Outcomes