Skip to content

{ Category Archives } Embedded

Escaping the MTRX

Embedded developers have it harder than most. Often we don’t have library options most other developers do. For example, the library might depend on file I/O, or it might require easy access to a large heap, or it even might require floating point arithmetic that our part is no good at implementing in [...]

A line in the sand

The other day, someone (who shall remain nameless to protect their identity) asked me the following:

I have a set of data points, (X,Y), and I know they are related through a simple function:

How do I determine m, and b?

Now, there are many ways to determine values for m and b; but, right now I’d like [...]

Tricky Trig

Recently, I needed to generate sine and cosine values at a rapid rate. I couldn’t use C’s sin and cos functions as they took too much processing power. Additionally, since I needed phase angle resolution of 16 bits precision, a lookup table would have required 2^16=65,536 word sized entries — an impossible requirement [...]

The Ties That Divide

Recently, I have been working on a project with the Make Controller. The Make Controller has been a handy platform for me to explore the ARM architecture, and the libraries distributed by MakingThings make it easy. While screwing around with the build of FreeRTOS included with the software, I stumbled across a piece [...]