cancel
Showing results for 
Search instead for 
Did you mean: 

Need minimalistic example to get STM32 in 48 - pin Package to work.

Oliver R.
Associate III
Posted on November 27, 2017 at 13:47

I can't get a STM32 in 48 - pin Package to work. I need a minimal working reference.

I have a STM32F042K6T6, It works fine, no problems, when I am using it on a breakout board:

0690X00000608xPQAQ.png

Reset pin voltage goes to VDD level, Debugger works, I have a firmware project with Display, External ADC, etc, everything works.

It is LQFP 32. I need more I/O's, so I decided to switch to a 48 pin device.

I picked an STM32L443CCT6 for that, and also because I want the FPU of the M4 and the low power features.

So this is a breakout board I prepared for that:

0690X00000608xUQAQ.png

Problem is: I can't get it up and running.

I tried several times with different types of 64 pin STM32 devices.

The Reset pin voltage stays at VSS level.

I connected it as follows:

pin 7: 100 nF cap to GND (reset pin)

pin 8, 23, 35 and 47: GND

pin 9, 24, 48: VDD = 3V3

pin 44: 10 K resistor to GND (BOOT0 pin)

I also added a 10 uF cap between pin 23 and 24, and two 100nF caps between pins 8/9 and 47/48 (soldered on the bottom side)

Can anyone help ?

Maybe provide a working minimalistic connection exaple for a 48 pin STM32, if possible for the L443CCT6 ?

Maybe the problem is something else, maybe because it is a fresh device and the system clocks are not set correctly ?

Or does anyone know a better breakout board or a minimalistic reference board other than nucleo, i.e. no extra components ?

Or anything else maybe.

BTW I use an ST-link V2 with 4 wire: GND, VDD, SWDIO and SWCLK connected. On the STM32F042K6T6 is works fine, no problems.

I also have nucleo boards with F042K6T6 and L452RET6. None of them, howwever, use a 48 pin device.

#stm32-l4 #lqfp48
16 REPLIES 16
Uwe Bonnes
Principal II
Posted on November 27, 2017 at 14:46

'It does not work' is a very generic and not very helpfull statement. One possible cause could be your missunderstanding about decoupling capacitors. Decoupling capacitors do not need to be places somewehere, but places close to the device. Take your finger, start at the center og the chip, then follow VCC out to your capacitor and back over to VCC back to the chip. If the loop is 'to large', problems may arise as decpupling will not work sufficent. Another problem is with  missing ground 'plane ' on your board. They only connect off board. That may also cause problem.

Posted on November 27, 2017 at 17:55

I'd connect also pins 36 and 1.

JW

Posted on November 27, 2017 at 17:08

'It does not work' -> The reset pin level stays at VSS level. That indicates that the CPU is not running. If the CPU runs, the level on that pin rises to VDD. Sorry if I wasn't clear enough with that.

Decoupling capcitors: I did place them as close as possible, between pin 23/24, 8/9 and 47/48, which are all VDD/VSS pairs. The other device (STM32F042K6T6), in contrast, works fine, even without decoupling caps and no ground plane.

It would help If someone could provide a tested reference design or anything as reference that works, whichI could easily build as prototype.

I know the nucleo boards or for example the pyboard could be a reference, but then I must make a PCB, which I will do later, but that still wouldn't explain to me why the breakout board doesn't work.

Posted on November 27, 2017 at 20:09

Must connect VDDA/VSSA, the PLL and POR are on the analogue side.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on November 27, 2017 at 19:54

Pin 32 is VDDIO2, needed for the SWD pins.

Posted on November 27, 2017 at 19:56

Argh, typo  32 versus 36!

Posted on November 27, 2017 at 21:58

Right. I already have that, pin 8 and 9, seen on the image, the red and blue wire.

Posted on November 27, 2017 at 22:01

pin 36 is VDD USB on that device. It wasn't connected because I don't use USB. I tried your suggestion, connected pin 1 and 36 to VDD, but it still doesn't work

:(

Posted on November 28, 2017 at 10:36

I can can you an eagle file with a board designed for the F303C where I put a F072C and could programm the part.