Search Results for: STM32

Trying DSO138 digital oscilloscope from Gearbest

We all agree that hobbyist or engineer should have proper bench oscilloscope for everyday use. They have all standard features including built in screen, interchangeable probes and convenient knob controls. Anyway if you are looking for temporary cheap solution, you can try building your own oscilloscope. Luckily you don’t have to make it from scratch because there are many projects and kits available that are cheap but powerful enough to fit most of basic needs.

Continue reading

Setting up CoIDE with GNU tools

For some time I’ve been using Codebench ARM GCC tools for developing software for ARM microcontrollers. As IDE I used plain Eclipse which I had to configure by myself. It worked pretty well, and there is nothing wrong with this. Anyway, sometimes it gets a little annoying to keep an eye on configurations and manual settings. So I decided to give a try CooCox IDE which claims to be free and open. It seems that already supports all the microcontrollers I like to use. Along to this change, I am also moving to a different GCC tool collection. Codebench free tools are great, but on another hand, there are some limitations. One of them is release times. They are releasing their free tools twice a year, so updates and other improvements cannot reach as fast as you’d expect. Another thing I am concerned – disabled hard float functionality. If you…

Continue reading

Contest! ARM Cortex-M0 giveaway for posting to forum. [Ended]

We’ve seen small interest in giveaway, so lets do another one. This time the prize is STM32F0Discovery board. This is a great board to start learning ARM Cortex microcontrollers. To get a chance to win it you only need to post at least couple meaningful forum posts. You are free to start new discussion or reply to existing posts. Contest will end on 15 April. Winner will be picked randomly.

Continue reading

You know basics of ARM. Whats next?

You’ve probably noticed that day by day more complex hardware gets closer to a user. Of course, I am talking about microcontrollers and processors. Several years ago it was a challenge to have running Linux on board. Now almost everyone has Raspberry Pi and doing crazy things. As I have noticed not many hobbyists are building their boards to get things done. There is a wide variety of ready made developing boards depending on size, speed, price that it looks not worth spending time on what’s already done. Everyone seems to be grabbing Arduino and building amazing projects. In a couple of years, enthusiasts used to crunch ARM projects like cookies. This is thanks to the choice of cheap development boards and improving free software tools. But the most critical role in this is the manufacturers. They finally noticed that hobby market could be a powerful driving mechanism. Ignoring it…

Continue reading

Basic touch screen routines up and running

STm32 touch screen

STM32103ZET6 prototyping board comes with LCD having touch screen capability. It is a great way to interact with the device. Practically speaking Touch screen is a resistive film that can be accessed as a regular potentiometer which value depends on touch point. Depending on voltage drop it is possible to calculate the coordinates. There is a touch screen controller which takes most of the hard work – it has internal ADC that measures the voltage and sends a value to the microcontroller using one of the selected interfaces (I2C or SPI). In the board, there is a common ADS7843 controller used, which talks to the microcontroller using SPI. After playing around, I’ve put a messy code that reads touch screen coordinates. It is a glued code from various sources, so it is only to fix some results. Currently, the code reads a bunch of values, then averages to get rid…

Continue reading

Setting up Eclipse to work with GNU ARM plug-in. Part 2.

Continue of part 1. First of all, let us select the proper processor type. As we are using Cortex-M3 processor, then we go to Project->Properties menu (or right click on project name in the project explorer and select Properties). First, in Tool Settings list is Target Processor. So we select processor cortex-m3: Be sure to choose settings for all configurations, so you don’t have to do this twice when selecting Debug or Release.

Continue reading