Issue when configuring PA0 as input on STM32F030K6T6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-05 5:54 AM
Hello,
On a pcb on which there is the STM32F030K6T6, I am facing a strange issue.
First, the context is that I am using different timers, interruptions, DMA, UART, analog inputs and digital outputs (PWM, ON/OFF signals).
2 of the i/o's are concerned by the issue:
- PA0, which is directly connected to GND, as others i/o.
- PB3, which is digital output (high level or low level). This output is connected at the top of a voltage divider whose the output drives the input current of a bipolar transistor. The maximum current driven from PB3 is 500uA.
When I am configuring the PA0 as input, with no pulling, the PB3 output can't be drive and remain low even if I order to go to high level. Other functionnalities seem to work fine, the only issue is the PB3 output and this thing happens to only 2 of my 8 prototypes ! The 6 others works fine even with this configuration.
When I am configuring the PA0 as output, push-pull type, it all works perfectly, even for the 2 which weren't working.
That thing doesn't make sense to me at all !
Is there something I am missing with the PA0 configuration as input ? maybe related to other peripherals configuration, i/o drive, etc as something as I souldn't configure it this way because I am already using something, somewhere ?
Thank you in advance,
- Labels:
-
DEBUG
-
GPIO-EXTI
-
STM32F0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-06 8:34 AM
In the problematic state, read out and check/post content of relevant GPIO registers.
JW

- « Previous
-
- 1
- 2
- Next »