cancel
Showing results for 
Search instead for 
Did you mean: 

Faulty pins?

DSimp.1
Associate III

Hey, I made some simple code for my STM32L053C8 Discovery kit to toggle GPIO pins which are connected to LEDs. I used PA0 PA1 and PA2 pins and only PA0 pin responded. Then I turned all GPIO pins high and using LED found some more pins which didn't turned it on: PC13, PH0, PA1, PA2, PA3, PA6, PA7, PB1, PA12, PA11. What does this mean, is my microcontroller faulty or are these pins special and can't output High signal?

3 REPLIES 3

Probably means they are connected to other things on the board. Check how they are committed, if there are solder bridges (SB links) to the headers.

https://www.st.com/en/evaluation-tools/32l0538discovery.html

https://www.st.com/resource/en/user_manual/dm00118944-discovery-kit-for-stm32l0-series-with-stm32l053c8-mcu-stmicroelectronics.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I checked datasheet and it turns out that most of these pins are for linear touch sensor, some are for IDD Measurement. So is there any way to use these pins on my board for GPIO function?

Imen.D
ST Employee

Hello @DSimp.1​ ,

Welcome to the STM32 Community 😊.

Please don't repost the same question several times (post 2).

0693W000006HzzcQAC.jpg 

I suggest you and @Community member​ ​ to keep all feedback you have on this first post, this reduce the time spent by you and user.

Then, mark the answer as "Best Answer" by clicking on the "Select as Best" button, this can be very helpful for Community users to find this solution more quickly.

Thank you for your comprehension. 

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen