Which pins on the TIVA C series IC are interrupt polled?
Are these pins physically present on the board?
i want to connect sensors to these pins.
Thank you in advance
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.
Which pins on the TIVA C series IC are interrupt polled?
Are these pins physically present on the board?
i want to connect sensors to these pins.
Thank you in advance
Hi surabhi,
You are being very vague.
Wich pins can have a polled interrupt? well if you're talking about the GPIO then well, none. You can pretty much everytime change their state.
What are you trying to do? Read analog? Comunicate by UART or SPI? Measure a frequency?
Markel i kinda get the question :p
I guess he meant if are the pins with poled interrupts (if they exist) were not reserved for sometigh or just not in the pinout . For example you have the ability to use VBAT for the hibernation module. But in the launchpad that pin ins't available
Hello Surabhi
If the question is that are all GPIO's interrupt capable, then yes, all Port-Pins are interrupt capable on TM4C123/TM4C129 devices. Port P and Q have interrupt capability on every pin.
To explain this better, all ports-pins (except P and Q ports), can be independently configured to detect an edge or level and generate an interrupt on the port's interrupt line. Port P and Q on the other hand will do the same as well except that each pin can have it's own interrupt vector.
Regards
Amit
Hello Luis Afonso
I want to sense a logical high on the pin and then direct my program to the respective ISR.
For that i need an external interrupt pin out(minimum 4) on the launchpad
-Surabhi
Hi bhosale,
Ah yes, for that you use a GPIO interrupt like Amit refered. If you need 4 diferent ones with diferent ISR then i advise using GPIO P or Q since they can have a handler per pin. If you use TivaWare only (or mostly) the GPIO API doesn't seem to have anytigh so set the interrupt per pin so you should use the Interrupt API for that.
I asked to better understand what kind of interrupt you wanted. The Tiva has alot of interrupts sources from the peripherals like ADC, SSI, I2C, DMA or Timers, and others.
Luis,
Yes, I shall try to use the GPIOs as Amit suggested.
And most probably i am looking at using the timer interrupts .
A GPIO can interrupt on sensing a rising edge or when it senses that it is high (so while the pin is high it generates an interrupt) so you should not need a timer for that.