Current Per Pin - Part 2
This time, Andrei concludes his investigation of electric current by looking at LEDs and the ability of microcontrollers to supply current..
Read MoreThis time, Andrei concludes his investigation of electric current by looking at LEDs and the ability of microcontrollers to supply current..
Read MoreIn this post, Andrei's 50th (yay), we start looking at electric current. First a crappy explanation of what current is, then a few examples of current draw to give a feel of current scale. Finally, an experiment.
Next week we'll apply this to LEDs and our processors. Stay tuned.
Read MoreThis week Andrei presents a pin 1 spotting guide. Chips, circuit boards, and connectors are all numbered, and this is your guide to figuring out what on your schematic is where on a circuit board.
Plus Penguin music.
Read MoreThis week, we take a look at the firmware involved in using the SPI bus. From the function calls to control the select pin then send out some data via the SPI bus, the form and specifics of the command structure for an accelerometer, and then we get some data flowing.
Busted data sheets, 16-bit values, and right handed chips - how can you pass this up?
Read MoreThis time, Andrei blends together schematics and oscilloscope traces, pours over data sheets and diagrams, and sifts through the jargon of SPI.
The result is a richer understanding of SPI with a side of CubeMX parameters.
Read MoreOnce we get into the nitty-gritty of SPI, there is going to be a lot of schematics and oscilloscope pictures that we have to figure out. Now is the time to get up to speed on schematic notation and oscilloscopes.
Read MoreNeed to move big amounts of dirt? You could use a tea spoon or something designed for the job, like a dump truck, or a really big dump truck.
In our programs, occasionally, we have to move large blocks of data. We can move it item by item, or bring out the data moving dump truck of computing, DMA.
This week, Andrei presents two examples of using DMA (with code included).
Read MoreAndrei is back from his Christmas hiatus and brings us a post introducing getting input from a UART.
Previously he had covered output using printf, a helper function called _write, and the HAL routine to send data out of the UART. This time we use the other half of the UART, a different HAL routine, _read, and getchar.
Read More
This week Andrei explains how to get a UART working using Cube. How to get printf working. And introduces the newlib standard library.
This is Andrei's final blog post of 2016, and it'll be useful for your Christmas break project where you learn about ARM processors using CubeMX and ST's Discovery board.
Read MoreUsing the UART on our Discovery board requires a little extra hardware before we can use it for debugging.
This week, Andrei reviews some of the ways to hook the Discovery board to your PC.
Read MoreThis week, Andrei introduces the UART. A useful data communications peripheral with a long history.
Follow along as Andrei gives the low down on bits and bauds, hardware handshakes, and inverting buffers.
Read MoreThis week, Andrei discusses how our button can be used to generate an interrupt. Other examples include engine management computers. What things should you look out for when using interrupts.
Don't miss the photo at the bottom of the post for a useful hack.
Read MoreThis time, Andrei looks into switches, their bouncy nature, Schmitt triggers, hardware, and software debounce techniques. Join us for a look into the resistors and capacitors leading to port PA0. See oscilloscope traces in black AND white! All of this and more in this embedded.fm blog post!
Read MoreThis week Andrei is writing about buttons. First a bunch of the background stuff that goes along with buttons, how the positrons scoot around and finally make it to the processor. Then he takes a look at the HAL code used to read the button position.
How hard can it be? Well sit down and get comfortable, this won't hurt a bit (we'll leave the hurting bit for next time, Bwa ha haaaaa).
Read MoreThis time, let's blink those LEDs. Woah, slow down there Speed Racer!
Read MoreThis week Andrei introduces the toolchains that are supported by CubeMX. Time to grab one and get it working.
Read MoreIn this post, Andrei looks at the code generated by CubeMX. Some of it is pretty ugly, but he gives a suggestion of how to co-exist with it.
Read MoreAndrei is back online with an overview of ST's configuration software for their ARM processor line, Cube.
Read MoreThis week, Andrei discusses how to acquire the sample code for the DISC1 processor board.
The trick is to download the CubeMX system from ST. We'll be using that in future examples, so follow along.
Read More