Skip to main content


Showing posts from January, 2019

Giving TrueStudio a shot

Since my first encounter with ST microcontrollers I have always used the Keil IDE. I have nothing against it, well maybe the fact it is lacking in the aesthetics department compared to modern IDE design. But as an engineer does that really matter? I will take a tool that just works versus one that looks pretty and gives trouble. But what if we could get a tool that jut works and can also look pretty? I am not implying that this is what TrueStudio offers, after all its based on Eclipse, and I happen to dislike eclipse based IDEs or anything running on Java, but they sure do look pretty. I have only been using TrueStudio a few days and so far so good. I have a pretty capable laptop so I am not hating Eclipse as much because those laggy menus are not as prominent. What really made me give TrueStudio a try was that ST purchased Atolic thus making TrueStudio available for free to use with ST devices. This is a great move by ST, they have quite an array of supported IDEs, giving their users…

STM32L0 : Changing Clock Frequency

Changing the clock frequency is something I usually never do because the startup file provided by Keil sets the STM32F1 to 72MHz by default, which has always been fine with me. However as late I have been testing out TrueStudio as an IDE. At the same time I managed to break my last St-Link so I have been using my Nucleo board with its on-board ST-Link to play around with TrueStudio. I will give my thoughts on TrueStudio on a later post. By default the Nucleo pictured here runs on its internal RC oscillator @ 2MHz, This series of MCU by ST targets low power applications so this explains their default setting. To change the frequency requires setting a few bits in a few registers and checking a few flags, imagine that. However, to really send this bad boy running requires some soldering and desoldering of solder bridges, I do not have any other Nucleo boards so I do not know if this is a common practice with them, but the way this specific board has been manufactured it is. The soldering…


Well just as I was preparing to start this blog full speed ahead, it just so happened that I was given an opportunity to intern/co-op at Tesla headquarters in Palo Allto, California. I was planning on finishing the development of my personalized STM32 boards which I want to use in the upcoming remake of my tutorial series. Now that project and the remake of the tutorials themselves will have to wait till later this year. I return from California at the end of April. In the meantime, I will still upload small posts (with no videos) on STM32 programming. I will also document my experience working at Tesla and give as much detail about that as I legally can.

I will be removing my old STM32 videos from YouTube once I have a full fledge arsenal of videos to replace them with. So until then you can enjoy and learn from them. Feel free to shoot me an email with any suggestions concerning the content of this blog.
Edwin Fairchild

2019 Blog Intro

I have had a few blogs throughout the years. They usually do not last and/or are not maintained. They fall victim to my dwindling inspiration. This year however I promise to commit myself to this blog and its readers no matter how few. I believe the lack of content will be mitigated by the fact that this blog will be mostly about micro-controller programming and projects relating to electronics. This vast area of interest will produce no shortage of content.
About this blog: What you will find here is an array of tutorials concerning microcontroller programming at the register level using C. The flavor of choice used here is the popular STM32 brand. This blog will also contain knowledge about specific electronic engineering topics, such as but not limited to power electronics, robotics, and anything else that sparks my interest. You will not find basic electricity tutorials like explanation of Ohm's law, there exist a plethora of great websites tackling those topics. What I will c…