I have been testing several real-time operating systems on the Arduino. I have posted a port of ChibiOS/RT and several examples here http://code.google.com/p/beta-lib/downloads/list. The file is ChibiOS20111027.zip.
The web site for ChibiOS/RT is here http://www.chibios.org/dokuwiki/doku.php?id=start.
This port of ChibiOS uses the Arduino's timer 0 for the system tick. This means the system tick is 1024 usec and the max logging rate is 976 samples per second.
There are five examples with two versions of a fast logger for the Data Logging Shield that log to a csv file.
The version of the logger optimized for 328 Arduinos logs two analog pins at a maximum rate 976 samples per second where each sample is the value from two analog pins.
The Mega version logs four analog pins per sample at a max rate of 976 samples per second.
Three other examples illustrate other features of ChiiOS/RT.
ChibiOS/RT RTOS with the Data Logging Shield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- fat16lib
- Posts: 595
- Joined: Wed Dec 24, 2008 1:54 pm
Please be positive and constructive with your questions and comments.