Generate ATD interrupt for HCS12 controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Generate ATD interrupt for HCS12 controller

Jump to solution
1,304 Views
ughadge
Contributor II

Hello,

I am working on MC9S12XEP100 microcontroller , and as I am new to this I am able to the polling base example but I want to generate interrupts for multiple channels in scan mode.

I want to generate interrupt for multiple channel in scan mode , read the data from data registers and perform an interrupt service routine to handle the read data .

I am using 15 analog channels , but any example would help me 

Labels (1)
1 Solution
1,262 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Utkarsh Ghadge 

We only have ADC demo under {CW5.1 install folder}\ProcessorExpert\Projects\Test projects\ADC, it's made with processor expert.

but I don't find it under CW5.2 install folder. I attach it here for your convenience.

The demo use two ADC channels. ADC interrupt is used.

Have a nice day,

Jun Zhang

View solution in original post

1 Reply
1,263 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Utkarsh Ghadge 

We only have ADC demo under {CW5.1 install folder}\ProcessorExpert\Projects\Test projects\ADC, it's made with processor expert.

but I don't find it under CW5.2 install folder. I attach it here for your convenience.

The demo use two ADC channels. ADC interrupt is used.

Have a nice day,

Jun Zhang