2021-01-03 01:06 PM
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?
2021-01-03 01:12 PM
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
2021-01-04 03:27 AM
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?
2021-01-08 05:08 AM
Hello @DSimp.1 ,
Welcome to the STM32 Community :smiling_face_with_smiling_eyes:.
Please don't repost the same question several times (post 2).
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