cancel
Showing results for 
Search instead for 
Did you mean: 

stm32lL011 20 led lighting.

LLamp.1
Associate II

I have one stm32lL011 20 pin chip. And nothing more than just this chip, it's a bare chip. How can I turn on a led using a touch button? I don't know what to do, can you write me step by step what to do?

Thank you all =)

7 REPLIES 7
Imen.D
ST Employee

Hello @LLamp.1​ and welcome to the STM32 Community 🙂

I advise you to start and follow the STM32 MCU Wiki page: STM32 step by step

This will guide you to install the main tools for programming the STM32 and to build your own application step by step,

Imen

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

Show us pictures

I don't know what to do, the chip in the picture has jumper inputs and I tried to connect with stlinkv2 using them. But it didn't happen. Also, there is a 5th jumper input that I do not know. What is it?

0693W000007Z1fhQAC.jpg0693W000007Z1cZQAS.jpg

What board is this? Do you have schematics?

Could you probe the circuit for continuity? Perhaps it's NRST?

Is the chip powered?

Pin 1&2 of the ST-LINK/V2 don't supply power, but need to see the voltage the Target device is using.

For examples, perhaps try review those in CubeL0

STM32Cube_FW_L0_V1.11.0\Projects\NUCLEO-L011K4\Examples\GPIO\GPIO_IOToggle

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

I don't have a circuit diagram. I also connected the 5th jumper output to gnd and saw what in the picture.

So I have to remove pins 1 and 2 of st-link/v2 and connect my external power supply on the chip?

0693W000007Z1mYQAS.jpg 

I'd probably get the Target Com Clock closer to 2 MHz for a CM0 part.

If NRST isn't connected "Connect under Reset" really isn't going to work/help

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

I did not understand them. Sir, can you make any assumptions about what happened by examining the two pictures?

0693W000007ZAk7QAG.jpg0693W000007ZAkWQAW.jpg