Common Pitfalls designing a custom board?
Posted: Mon Nov 29, 2021 2:58 pm
Hi there,
I'm currently designing a small test board to develop software for an upcoming larger PCB design I want to make.
In my work I usually use CubeMX to select all the Periphery I want and the software engineers implement these modes in firmware. For this non-work project I have to do every thing myself of course
.
My question then: are there any pitfalls I should look out for when designing my first Arduino on STM32 board or can I just go ahead an load up all the GPIOs as I would when designing a non-Arduino STM32 board? Are there things which would require a large amount of tinkering within the libraries to get going.
MCU: STM32L052R8T6
Periphery: 2xUART, 2xI2C, 1xSPI (6 ICs daisy-chained), 11 Analog channels, 4 Interrupt inputs, a few digital outputs
Programming via SWD (ST-Link v3), I will design a different board to experiment with USB
Clock source: 32kHz LSI
Sorry for the messy schematic, it is an early draft and I haven't calculated all the resistor and capacitor values yet (EDIT: never mind, to hit the file size limit I had to cut away everything non-essential)
I'm currently designing a small test board to develop software for an upcoming larger PCB design I want to make.
In my work I usually use CubeMX to select all the Periphery I want and the software engineers implement these modes in firmware. For this non-work project I have to do every thing myself of course

My question then: are there any pitfalls I should look out for when designing my first Arduino on STM32 board or can I just go ahead an load up all the GPIOs as I would when designing a non-Arduino STM32 board? Are there things which would require a large amount of tinkering within the libraries to get going.
MCU: STM32L052R8T6
Periphery: 2xUART, 2xI2C, 1xSPI (6 ICs daisy-chained), 11 Analog channels, 4 Interrupt inputs, a few digital outputs
Programming via SWD (ST-Link v3), I will design a different board to experiment with USB
Clock source: 32kHz LSI
Sorry for the messy schematic, it is an early draft and I haven't calculated all the resistor and capacitor values yet (EDIT: never mind, to hit the file size limit I had to cut away everything non-essential)