2012-01-26 09:17 AM
It would seem to me given the way the GPIO pins are mapped to EXTI lines, there is no way to use two pins that have the same GPIO pin number. For example, in my case I would like to use pins A8 and B8 as separate interrupts. Since all pins with the designation '8' are mapped to the same line, there does not seem to be a way to configure the AFIO_EXTICR registers.
Am I missing something? As I look at it, it would seem to preclude using the same pin number twice. If one number is used on one port that pin is excluded on all other ports!Shannon2012-01-26 09:40 AM
that's the way it works
RM0008
Figure 21. External interrupt/event GPIO mapping should eliminate any doub
ErikIt would seem to me given the way the GPIO pins are mapped to EXTI lines, there is no way to use two pins that have the same GPIO pin number. For example, in my case I would like to use pins A8 and B8 as separate interrupts. Since all pins with the designation '8' are mapped to the same line, there does not seem to be a way to configure the AFIO_EXTICR registers.
Am I missing something? As I look at it, it would seem to preclude using the same pin number twice. If one number is used on one port that pin is excluded on all other ports! Shannon2012-01-26 09:52 AM
yes I'm familiar with that figure. I guess I'm alone in thinking it's an unfortunate restriction. I was fishing for a clever work-around.
2012-01-26 10:53 AM
2012-01-26 01:09 PM
Yikes. sorry to step on your feelings. Didn't mean to imply anything negative about the STM32! In MY application, in MY circumstances, with MY hardware not being able to use two pins that happen to have the same number IS a restriction.
Before I anger the STM32 gods, let me say its a fantastic processor. I'm quite happy with it.Thanks for the help.