port code to chipkit uno32 ??

Post Reply
amourdurisk
Posts: 31
Joined: Wed Nov 02, 2011 8:58 pm

port code to chipkit uno32 ??

Post by amourdurisk »

I wonder if we could put the Alex program on a chipkit 32 Uno?

Thanks a lot

Matt.

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: port code to chipkit uno32 ??

Post by Alexinparis »

Hi,
Yes, I think it's basically feasible with some knowledge of PWM timing, interrupts and port manipulation.
The delta code should be less than 10%.

amourdurisk
Posts: 31
Joined: Wed Nov 02, 2011 8:58 pm

Re: port code to chipkit uno32 ??

Post by amourdurisk »

Hi Alex,

Do you think it would bring something more?

Ps : As-tu eu le temps pour la version hélicoptère ?

regards,

Matt.

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: port code to chipkit uno32 ??

Post by timecop »

I ported it to STM8, very little effort involved, as Alex said just PWM/serial/gpio.
I'm tracking latest changes including 1.9.
You are welcome to use the code as a base.
http://code.google.com/p/afrodevices/so ... %2Fafrowii

crashlander
Posts: 506
Joined: Thu May 05, 2011 8:13 am
Location: Slovenia

Re: port code to chipkit uno32 ??

Post by crashlander »

dongs wrote:I ported it to STM8, very little effort involved, as Alex said just PWM/serial/gpio.
I'm tracking latest changes including 1.9.
You are welcome to use the code as a base.
http://code.google.com/p/afrodevices/so ... %2Fafrowii


Hello,
are there any noticeable pros to use STM8? Is it possible to buy Arduino-like board with that chip?

Regards, Andrej

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: port code to chipkit uno32 ??

Post by timecop »

No, probably no advantage for you as a user. It's better for development as code can be debugged on-chip, and better hardware-wise, as it has hardware PWM blocks, faster ADC, more 16bit timers, and in general better peripherals. As I'm not a big fan of arduino, the concept of "shields" is quite boring to me, I'd rather just make my own board for whatever purpose, which is what I did. Note, developing for any of the STM8/32 family of chips requires using a proper programming environment, as no dumbed-down version aka arduino IDE exists. So, to sum it up, for a user who clicks 'upload' in Arduino IDE there's no advantage. The other advantage (to me) is the code can be easily ported up to STM32 family, as most of the peripherals are same.

cobra18t
Posts: 1
Joined: Sun Jan 01, 2012 6:51 am

Re: port code to chipkit uno32 ??

Post by cobra18t »

Has anyone started work on porting the code to chipkit? I can see value in porting the code since calculations could be made faster (=more stable aircraft). There are multiple serial ports so one could be used for debugging and configuration while the other is used for a GPS. Added processing power and memory could also lend itself to SD card configuration storage and datalogging. So I guess I am just saying that I am interested in an Uno32 port.

Post Reply