Using a timer interrupt with KDS and K64F

Another demo that I saw while at the Freescale Tech Day was also pretty simple, but already moving a step beyond the traditional Arduino examples. It’s just blinking a LED, but rather than the “brute force” approach of switching the pin then forcing a wait before switching it again (the algorithm in the classic Arduino …

Continue reading ‘Using a timer interrupt with KDS and K64F’ »

A first project with FRDM-K64F and Kinetis Design Studio

Today, I thought I’d have a go at running one of the simple demonstrations I saw at the recent Freescale Tech Day in Milton Keynes. I have a FRDM-K64F development board which I bought a few weeks ago, and my fresh installation of the KDS IDE. The K64F is a lovely board with a powerful …

Continue reading ‘A first project with FRDM-K64F and Kinetis Design Studio’ »

Reading an analogue value in C on a Freescale Freedom KL25Z

After spending the last few days messing with a MCP3002 SPI ADC chip, I’m beginning to wonder if it is not really suitable for my needs after all. Both the SPI libraries I have tried have had problems with excess waiting around transfers, which becomes very significant when each new sample requires a whole new …

Continue reading ‘Reading an analogue value in C on a Freescale Freedom KL25Z’ »