Categories

Posts Tagged ‘STM32’

Building a USB bootloader for an STM32

Friday, July 6th, 2018

Kevin Cuzner writes: As my final installment for the posts about my LED Wristwatch project I wanted to write about the self-programming bootloader I made for an STM32L052 and describe how it works. So far it has shown itself to be fairly robust and I haven’t had to get out my...

Tags: ,
Posted in ARM, programmers | 1 Comment »

STM32F103 vs GD32F103 round 4: SPI master

Friday, June 22nd, 2018

Sjaak writes, "This is part 4 in the series where we compare the STM32F103 with its Chinese counterpart the GD32F103. Both are ARM Cortex M3 microcontrollers which are mostly pin, peripheral and register compatible. Now we compare the SPI master peripheral of both chips." More details at smdprutser.nl. Check out the...

Tags: ,
Posted in ARM | No Comments »

STM32F103 vs GD32F103 round 3: UART

Monday, March 26th, 2018

Here’s the part 3 of Sjaak's post comparing the GD32 to the STM32: Since the GD32F103 can run as fast as 108MHz but has not a proper USB clock divider to provide a 48MHz clock for USB communication we need another way to communicate with the outside world. Since the early...

Tags: , ,
Posted in ARM | No Comments »

STM32F103 vs GD32F103 round 2: Blink a LED

Wednesday, February 7th, 2018

A follow-up to the STM32F103 vs GD32F103 round 1- Solderability post, Sjaak writes: The defacto ‘hello world’ for microcontrollers is blink a LED at a steady rate. This is exactly what I’m going to do today. I made a small 5×5 development board, soldered it up and started programming. In...

Tags: ,
Posted in ARM, LEDs | No Comments »

STM32F103 vs GD32F103 round 1: Solderability

Wednesday, January 31st, 2018

Sjaak writes: I locked myself into the basement with a couple of PCBs, chips and fresh flux for a couple of days. For the STM32F103 vs GD32F103 challenge I needed to have two identical boards with a different microcontroller. As far as I could judge both chips are legit and...

Tags: , ,
Posted in ARM | No Comments »

App note: Watt-hour meter based on the STM32F101 microcontroller

Sunday, December 3rd, 2017

ARM Microcontroller based watt-hour meter implementation from STMicroelectronics. Link here (PDF) This document describes, in detail, the hardware and software implementation of a watthour meter using the STM32F101 microcontroller. This cost effective watt-hour meter uses shunt with an operational amplifier as a current sensor, an embedded 12-bit ADC for current...

Tags: , , ,
Posted in app notes | No Comments »

SMA solar readout

Wednesday, October 11th, 2017

Jean-Claude writes: This is the first post of a 3-part series about reading out an SMA solar inverter over Bluetooth and displaying some readings every few seconds. Long-time readers may remember the Solar at last weblog post from several years ago and the SMA Relay, based on a JeeNode v6. The...

Tags: ,
Posted in ARM, LCD | No Comments »

Hacking the DPS5005

Friday, March 10th, 2017

Johan Kanflo's OpenDPS project, a free firmware replacement for the DPS5005: This write up of the OpenDPS project is divided into three parts. Part one (this one) covers reverse engineering the stock firmware and could be of interest for those looking at reverse engineering STM32 devices in general. Part two...

Tags: , ,
Posted in hacks | No Comments »

BlackMagicProbe SMDprutser style

Monday, February 20th, 2017

Sjaak has published a new build: When you get started on ARM microcontrollers things are very overwhelming at first… After coping with the first few hurdles like installing a toolchain and IDE, the next part should be getting a tool to program the chip. Many vendors have some kind of...

Tags: ,
Posted in ARM | 3 Comments »

First GD32 tests

Wednesday, November 9th, 2016

Sjaak has published a new build, the STM32/GD32F103 QFN32 breakout board: Uptill now I used 0603 sized resistors and capacitors but for this project I switched to 0402 to save a few mm on the board. I have soldered many challenging chip packages so I felt confident. The technique is...

Tags: , , ,
Posted in ARM, dev boards | 2 Comments »

Walking the 32bit path to a blinky LED

Friday, July 29th, 2016

Sjaak writes: The battle isn’t AVR Atmega vs Microchip PIC anymore.. More and more people are moving to ARM chips. As easy as it sounds but it isn’t. ARM is an company that invented the ARM chips, but doesn’t has a silicon fab, instead they license the design to several...

Tags: , ,
Posted in ARM, how-to | 14 Comments »

Therm RTD

Friday, April 1st, 2016

Matthew Reed writes: Therm RTD is an addition to the Therm PID Controller family, with support for RTD temperature sensors. RTDs (or Resistance Temperature Detectors) use a coil of fine wire made from a material (usually platinum, copper or nickel) that has a very predictable temperature coefficient of resistance (or change...

Tags: , , ,
Posted in project logs | No Comments »

A development board for the STM32F042 TSSOP package

Thursday, November 12th, 2015

Andy Brown designed a development board for the STM32F042 in the TSSOP20 package: Development board features USB. The 042 series supports USB and although 32Kb is not a lot of space to include a USB driver and your application logic it does make sense to hook up those USB data lines and...

Tags: , ,
Posted in ARM | 3 Comments »

Therm: a Tiny PID controller

Wednesday, August 26th, 2015

A tiny PID controller project from Ethan Zonca: Therm is a very small PID controller with an OLED display, thermocouple interface, and USB port. It can switch an external solid-state relay for driving large loads, or a transistor for driving small loads. When attached to a computer, it enumerates as...

Tags: , ,
Posted in hacks | No Comments »

STM32 Nucleo and DFU USB bootloading

Wednesday, July 22nd, 2015

MrMobileWill writes: Over the last few months I have been playing with the Nucleo development boards from STMicroelectronics. If you're unfamiliar with them, they are fast, mbed and Arduino (headers) compatible. This makes it easy like an Arduino to program and use. What sets them apart is that they are...

Tags: , ,
Posted in programmers, tools | No Comments »

STM32 ADC

Wednesday, March 18th, 2015

Shawon Shahryiar over at Embedded Lab has written an article discussing the basics of STM32 ADC: The block diagram shown above might look a bit complex at first but it still worth having a look. It shows us the interfaces that are related to the ADC block and some key features. It...

Tags: , ,
Posted in ARM | No Comments »

Arduino Uno R3 graphics accelerator shield uses no pins

Tuesday, February 24th, 2015

Andy Brown has written an article detailing his Arduino graphics accelerator open source project: This project brings together the knowledge that I’ve gained over the last few years to bring you a graphics accelerator for the Arduino Uno R3 based on an ARM Cortex M0 core attached to a 640×360 LCD...

Tags: , ,
Posted in Arduino | 12 Comments »

App note: STM32 microcontroller system memory boot mode

Saturday, June 14th, 2014

Here’s an app note from ST discussing how the bootloader works and how it’s activated -the general concept of the bootloader (PDF!): The bootloader is stored in the internal boot ROM memory (system memory) of STM32 devices. It is programmed by ST during production. Its main task is to download the application program to the...

Tags: , ,
Posted in app notes | 1 Comment »

App note: STM32™ in-application programming over the I²C bus

Sunday, April 13th, 2014

Programming the STM32F10x via I2C with this app note from STMicroelectronics A key requirement for most Flash-memory-based systems is the ability to update firmware once the system is installed in the end product. This is referred to as in-application programming (IAP). This application note describes how to perform in-application programming...

Tags: , , ,
Posted in app notes | No Comments »

App note: STM32F10x in-application programming using the USART

Sunday, April 13th, 2014

Programming the STM32F10x via USART with this app note from STMicroelectronics The STM32F10x microcontroller can run user-specific firmware to perform in-application programming (IAP) of the microcontroller-embedded Flash memory. IAP driver must be program first to the Flash memory base address via JTAG/SWD interface using the development toolchain of your choice...

Tags: , , ,
Posted in app notes | No Comments »

Next Page »

Recent Comments

  • Sjaak: I love those spade connectors. Where to get them?
  • Justin Myers: Always worth a shot!
  • Jack: Honesty is based upon objective fact, and truth upon perception which is invariably subjective. Therefore be honest, and let history make its own decisions.
  • Crawford: Lucky?
  • hli: Sunday++