Category Archive: embedded C

Dec 09

Updates on iBeacons with the CC2540

One of this year’s projects was taking a CC2540 and making an interactive iBeacon with it.  This turned out to be more difficult than expected… which may explain recent design trends I’ve noticed in embedded BLE devices.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2016/12/updates-on-ibeacons-with-the-cc2540/

Jan 01

Capacitive Touch Sensing on the MSP430 – 2013 Edition

I took a look at capacitive touch sensing on the MSP430 in 2011 and it was a little… lacking. I had another project come up and had a chance to play around with it again a couple months ago. It’s nice to see the changes two years have made to the framework provided by TI.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2014/01/capacitive-touch-sensing-on-the-msp430-2013-edition/

Jun 05

Two wrongs make a working prototype

I had an interesting problem show up when I was working on a project at the beginning of the year.  It involved an Analog Devices Blackfin 51x series processor.  We went to transition to their new IDE and that’s when we started noticing problems with the Flash RAM.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2013/06/two-wrongs-make-a-working-prototype/

Feb 09

Freescale KL25 Cortex M-0+ Review

One of the projects I’m working on I chose to use one of the new Freescale KL25 MCUs.  They have an ARM Cortex-M0+ core and lots of peripherals to boot, including ones specifically designed for low power usage.  Below are some of the reasons why I chose it, and what my experiences with it have …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2013/02/freescale-kl25-cortex-m-0-review/

May 19

The Case of the Random Lockup

We had a bug that just wouldn’t go away. Sometimes it would show up quickly, sometimes it would show up after the code had been running for a few days… but it would show up. What’s the programmer to do?

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2012/05/the-case-of-the-random-lockup/

Jan 07

Of embedded black boxes

Over the last few months I’ve been working on projects using PIC microcontrollers. At first I had a rather negative view of the PIC processors. Since I started coding on them, I have come to realize that it is the compiler that I have issues with much more than the hardware. The compiler we’ve been …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2012/01/of-embedded-black-boxes/

Jun 14

Capacitive Touch Sensing on the MSP430

One of the projects I’m working on involves using capacitive touch sensing (CTS) on the TI MSP430.  TI has been pushing their touch sensing capabilities recently and has even released a library that helps in implementing touch sensing on the MSP430.  I decided to give it a try.  The short story is that there is …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/06/capacitive-touch-sensing-on-the-msp430/

Feb 14

A Valentine Example for Blinking Lights

For Valentine’s Day my son needed to make a “mailbox” for his kindergarten class. He & his mother made a rocket out of an old oat container. Since this was a family project, I decided that my contribution would be lighting it up. My son was quite excited when I told him that I was …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/02/a-valentine-example-for-blinking-lights/

Jan 21

The Never Ending Conversion

When using the ADC10 in an MSP430 with multiple conversions, the ADC10BUSY bit will stay on even after the conversions are done. Trying to be a good little programmer and checking to make sure the ADC is done will leave you hanging… forever. The conversions must be done for the data transfer and the data …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/01/the-never-ending-conversion/

Jan 21

Accidental Double Interrupts on a Timer

I had a program where I was using a timer and an ISR to flip a bit on a TI MSP430.  Well, the bit would only filp for a few milliseconds and then revert back to its prior value.  As it turns out, I was calling the ISR twice every time I wanted it.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2011/01/accidental-double-interrupts-on-a-timer/

Older posts «