Cubbieboard and Python via Python Module RPI

570 views
Skip to first unread message

SunshineDigital

unread,
Apr 24, 2013, 11:50:00 AM4/24/13
to cubie...@googlegroups.com
Raspberry Pi has come out with a module that opens up the GPIO for Python, and has even published a book on using Python on the Raspberry Pi.

http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/217-getting-started-with-raspberry-pi-gpio-and-python

I am NOT interested in the Raspberry Pi, since the Cubieboard is better.  But I'd love to adapt this module for the Cubieboard.  Any suggestions?

Tom Cubie

unread,
Apr 24, 2013, 7:53:46 PM4/24/13
to cubie...@googlegroups.com

Actually this is in my todo list. Olimex has a python lib for A13, it can also be used on cubieboard. I am considering to ask them make it a sunxi project. Because they put a tar.gz of source code on github. It's not good.

>
> --
> You received this message because you are subscribed to the Google Groups "Cubieboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cubieboard+...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cubieboard?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

SunshineDigital

unread,
Apr 28, 2013, 1:07:58 PM4/28/13
to cubie...@googlegroups.com
I did investigate the Raspberry Pi Python project for use of the GPIO and was a bit disappointed. While Python may be very useful on both the Raspberry Pi and the Cubbieboard, the GPIO really needs a lower level of programing... likely in Assembler ... to fully exploit either device.

SunshineDigital

unread,
Apr 28, 2013, 1:17:26 PM4/28/13
to cubie...@googlegroups.com
Just a couple of added comments.

1. I am delighted to hear from Tom Cubie as I want to say thank you for a board that is much faster and better than the Raspberry Pi. It is a wonderful value.
2. I am not sure how a Python library for the Cubieboard would connect to the GPIO, but it will require some code in Assembler.  Because the OS is multi-tasking, some i/o tasks would need to be buffered and be able to make high priority calls to the OS.  Raspberry Pi was unable to get that far.  All they do is have the GPIO sense a high/low change or blink LEDS -- very basic stuff.  

It would be nice to have SPI serial, an 8 bit parallel, I2C serial, and even PWM if possible.


On Wednesday, April 24, 2013 11:50:00 PM UTC+8, SunshineDigital wrote:

Rosimildo DaSilva

unread,
Apr 29, 2013, 8:04:43 AM4/29/13
to cubie...@googlegroups.com
All I can tell is that all this is possible. I just had a contract ( paid job ) for a customer, where we developed a full "wiring" interface for A1X devices, with Soft SPI, Soft Serial, Soft I2C, and also using H/W based devices with full bindings to Python and Ruby.

We were able to do 6MHz soft SPI from Python.

So, answering your question: yes, you can do all this with Cubie board, you may not find for free just yet these things.

R
Reply all
Reply to author
Forward
0 new messages