PaxInstruments / labwiz-board

A development board based on the STM32 series processors specifically targeting the STM32F103RxT series.
4 stars 2 forks source link

Switches on same interrupt #117

Closed charlespax closed 7 years ago

charlespax commented 7 years ago

"The buttons should be marked as EXTI in CubeMX. It appears that SW_A and SW_C are on 2 pins that are both connected to EXTI9. You can only map to a single pin, so we will not be able to trigger either SW_A or SW_C."

On version 0.3 the buttons map to interrupts as shown below.

SW_A, EXTI9
SW_B, EXTI8
SW_C, EXTI9
SW_D, EXTI2
SW_E, EXTI10
SW_PWR, EXTI0

We have two unused pins on v0.3 that we can swap out.

PC1, EXTI1
PC4, EXTI4

WIFI_EN is on PC7 (EXTI7). That pin is close to SW_A and SW_B and already routes to the same side of the PCB. It would work best for routing if we swap SW_A and WIFI_EN.

charlespax commented 7 years ago

Fixed. See https://github.com/PaxInstruments/labwiz-board/issues/129