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.

TMS320F28035: Can the ADCINA4\ADCINA6\ADCINA7 ADC pins of the TMS320F28035(56PIN) chip detect the rising edge or falling edge pulse to trigger the interrupt and count the pulse?

Part Number: TMS320F28035
Other Parts Discussed in Thread: C2000WARE

The main purpose is to decode the output signal of the three-phase Hall sensor (square wave duty ratio 50%).

Can ADC pins trigger interrupts as well as GPIO pins?

Is there any difference in how they trigger?

Are there procedures for using ADC pins to enter interrupts?

Thank you for your answer!

  • Hello Andy,

    Can ADC pins trigger interrupts as well as GPIO pins?

    Yes, please refer to the ADC chapter in the device reference manual:

    Is there any difference in how they trigger?

    ADC and GPIO interrupts both work as interrupts, the only difference is what creates the interrupt. The interrupts utilize the Peripheral Interrupt Expansion (PIE) architecture which allows for interrupts from different peripherals. For more information, please refer to section 1.6 Peripheral Interrupt Expansion (PIE) in the reference manual.

    Are there procedures for using ADC pins to enter interrupts?

    Yes, once you configure the sample-and-hold window and the other settings for the ADC SOC you want to use, you can configure the interrupt using the ADC INTSEL register as well as perform the same steps for configuring the ISR as you would for the GPIO pin interrupt. Please refer to example Example_2803xAdcSoc in C2000Ware_5_01_00_00\device_support\f2803x\examples\c28\adc_soc.