AnsweredAssumed Answered

STM32L1xx Pin Configuration + Allocation

Question asked by Pete.S on Jan 28, 2013
Latest reply on Jan 28, 2013 by Pete.S
Hi,

I am working with a STM32L1 chip (STM32L152RB to be exact, 64 Pin) and I would like start with the basics and then work up as I do not have any experience with it. I do not have the STM32L1 Dev/Eval board, I am working with our own board.

After looking at some of the example projects on IAR EWB I am getting to grips with some configurations, but I would just like to know how to set up 4 GPIO pins;

2 push-pull output pins configured to pins PB7 and PB8,
2 pull-up input pins configured to pins PB13 and PB14.

Any information for a beginner would be great, at this point just setting a pin of my choice high or low is progress.


The board and chip work fine so far and I can download and debug any example project without any problems.

Outcomes