AnsweredAssumed Answered

dac_adc_demo and PORTE_IDX

Question asked by inderjitjutla on May 11, 2016
Latest reply on Jun 9, 2016 by inderjitjutla

Hello, I am using a MK64FN1M0VLL12 chip and I've been trying to integrate adc measurements and i2c. I've been using the dac_adc_demo as an example but I ran into some hardware initialization issues. For i2c I need to initialize the E ports:

 

CLOCK_SYS_EnablePortClock(PORTE_IDX);

 

But when I add that to the dac_adc_demo in hardware_init.c, the i2c line stops working. I know ADC0_SE17 shares a port with the i2c line but I'm not using that adc pin (I'm using channel 3). I'm confused as to what's causing issues with enabling the clock for port e.

Outcomes