The FRDM-K64F developer board from NXP (formerly Freescale) is a 32bit ARM® Cortex™-M4 core with DSP instructions and Floating Point Unit (FPU)running at 120 Mhz. It has 1M flash memory and 256k RAM. It is compatible with most Arduino shields.
Add to this:
- 16 channel DMA,
- 2 16bit ADC,
- 2 16bit DAC,
- 3 analog comparators,
- 3 SPI ports,
- 3 I2C ports,
- 6 UARTs,
- 1 Secure Digital Host Controller,
- Micro-SD card
- Hardware CRC and random-number generator module,
- Hardware encryption supporting DES, 3DES, AES, MD5, SHA-1 and SHA-256 algorithms
- 6-axis combo Sensor Accelerometer and Magnetometer
NXP/Freescale do have their own free IDE available, the Kinetis Design Studio that I've discussed here in the past. It is quite a rich and capable development platform, however with that richness comes complexity.
For those less familiar with configuring hardware clocks and startup code for embedded processors, I suggest you look at the ARM-mbed platform.
ARM-mbed is a fairly good online IDE for working with various ARM based developer boards.
I was rummaging through my code today, and found this piece that I had struggled with last year when I was working on my 3D printer firmware. I wanted to be able to read two thermistors, one for the extruder nozzle, and one for the heated bed. These thermistors are used to regulate the temperature for accurate printing.
Several of the standard 3D printer firmware options (Marlin, Teacup, etc...) that were developed for the 8bit Arduino platform used conversion tables to reduce the processing overhead. Because I was using a 32bit ARM processor at 120Mhz, I didn't feel that this was the right method to follow.
Looking around, I quickly found out about the Stenhart-Hart equation for converting Thermistor resistance values to Temperature values.
Anyway, with no further ado... here is my demo code for displaying Temperature values from a 16bit analog read of a 100k thermistor on the FRDM-K64F development board.
NXP.COM: FRDM-K64F Developer board
Adafruit: Using a thermistor to tell temperature