Xduino v0.2 to be released
Posted by Ram in ARM, detail, Xduino release on July 31st, 2009
The next release of Xduino will be version 0.2 making a jump from version 0.1x as most of the Arduino programming functions has been implemented along with additional features, especially those exceeding what current Arduino platform can provide.
Supported Arduino syntax will be:
pinMode digitalWrite digitalRead
analogRead (12-bits 0-4095 range)
analogWrite (12-bits 0-4095 range true Analog output not PWM)
attachInterrupt (upto 16 interrupts)
detachInterrupt interrupts noInterruptsdelay delayMicroseconds millis micros
Serial – print println read available flush
on top of this more advanced functionality will include:
Setting Serial port Rx and Tx buffer size
Serial.printf – optional C style printf function for Serial port eg.
printf(“hello %d”,123);digitalToggle – toggle state of digital output
analogLastwrite – get the latest value set by analogwrite
(General purpose Round-Robin library will be included.)
along with endless possibilities offered by C++ libraries
More to follow… Suggestions are always welcome!
Xduino v0.12 to be released
Posted by Ram in ARM, Cortex-M3, Xduino release on July 24th, 2009
Xduino v0.12 should come out within the next few days and it will have Serial buffer, Round-robin general purpose library, ADC (Analog input) and might also have DAC (Analog output) functionalities. Note DAC function does not exist in Arduino (yet). PWM function should be coming out soon as well but might not always be needed as there are 2 DAC channels on the ARM Cortex-M3 STM32F10ret6 board which is being used for testing. Arduino compatibility syntax will be provided on the new functions as well.
ARM programming made simple with Xduino (v0.11)
Posted by Ram in ARM, Cortex-M3, programming example on July 16th, 2009
With the current release of Xduino v0.11 for ARM Cortex-M3 STM32 and also future releases of other ARM mcu as well as other non-ARM mcus, here is going to be what you can call ‘Blink’ example.
Before starting, you have to compile this code along with Xduino platform libraries and load it to the board you are using. Once loaded then you can disconnect the board from the computer then connect one wire of an LED to PB7 (you can change this to other Pin on your board, make sure to also change the code) and the other to ground appropriately. Hit reset on your board and the LED should blink.
/* Xduino library initialization */
#include “main.h”int LedPin = PB7; // as labelled on your ARM Cortex-M3 board
int main(void)
{doInit(); //Initialize
while(1) //loop this block
{
digitalWrite(LedPin,HIGH);
delay(200);
digitalWrite(LedPin,LOW);
delay(200);
}}
Xduino v0.11 to be released soon
Posted by Ram in ARM, Xduino release on July 15th, 2009
Following the release of initial Xduino v0.1 and after receiving some feedback we are ready to announce that Xduino v0.11 will be released soon. The example on ARM Cortex-M3 page has been updated to reflect what users can expect from the new release.
The following functions are available for compatibility with Arduino platform:
Digital I/O:
pinMode()
digitalRead()
digitalWrite()
Misc functions:
delay()
delayMicroseconds()
Serial functions – (identical for Serial1 – Serial5):
Serial1.begin()
Serial1.read()
Serial1.print()
Serial1.println()
Serial1.available()
Comments/suggestions/requests are more than welcome : -)