Re: [GSOC] GPIO status and I2C start

2014-08-21 Thread Alan Cudmore
Hi Pavel, Thanks for the feedback, we will definitely get the parameter change in when the code is submitted. Alan On Thu, Aug 21, 2014 at 8:20 AM, Pavel Pisa wrote: > Hello everybody, > > I am happy that the common GPIO API for RTEMS is developed > but I have some concerns about IRQ handlers

Re: [GSOC] GPIO status and I2C start

2014-08-21 Thread Pavel Pisa
Hello everybody, I am happy that the common GPIO API for RTEMS is developed but I have some concerns about IRQ handlers registration. On Sunday 06 of July 2014 00:58:23 Andre Marques wrote: > Hello, > > The Raspberry Pi GPIO interrupts are already working, and a test case is > available to test t

Re: [GSOC] GPIO status and I2C start

2014-07-18 Thread Andre Marques
Hello Alan On 07/18/14 14:06, Alan Cudmore wrote: Hi André, I have a couple of SPI devices to try now. I have the SPI FRAM chip: https://www.adafruit.com/product/1897 I have here a similar device http://www.microchip.com/wwwproducts/Devices.aspx?product=23K256 Will try to test it with the PI

Re: [GSOC] GPIO status and I2C start

2014-07-18 Thread Alan Cudmore
Hi André, I have a couple of SPI devices to try now. I have the SPI FRAM chip: https://www.adafruit.com/product/1897 and something that could be interesting, an SPI based LCD/touchscreen: https://www.adafruit.com/products/1601 I can also verify that the RTEMS BSP works fine on the new Raspberry Pi

Re: [GSOC] GPIO status and I2C start

2014-07-07 Thread Joel Sherrill
On 7/7/2014 8:42 AM, Gedare Bloom wrote: > On Mon, Jul 7, 2014 at 9:37 AM, Alan Cudmore wrote: >> Hi André, >> I updated my Pi setup to add the second LED and switch, and your example >> works for me. I did notice that when I power off the Rapberry Pi, then power >> it back on, the second LED wil

Re: [GSOC] GPIO status and I2C start

2014-07-07 Thread Alan Cudmore
On Mon, Jul 7, 2014 at 9:42 AM, Gedare Bloom wrote: > On Mon, Jul 7, 2014 at 9:37 AM, Alan Cudmore > wrote: > > Hi André, > > I updated my Pi setup to add the second LED and switch, and your example > > works for me. I did notice that when I power off the Rapberry Pi, then > power > > it back on

Re: [GSOC] GPIO status and I2C start

2014-07-07 Thread Gedare Bloom
On Mon, Jul 7, 2014 at 9:37 AM, Alan Cudmore wrote: > Hi André, > I updated my Pi setup to add the second LED and switch, and your example > works for me. I did notice that when I power off the Rapberry Pi, then power > it back on, the second LED will remain lit and cause interrupts in the RTEMS >

Re: [GSOC] GPIO status and I2C start

2014-07-07 Thread Alan Cudmore
Hi André, I updated my Pi setup to add the second LED and switch, and your example works for me. I did notice that when I power off the Rapberry Pi, then power it back on, the second LED will remain lit and cause interrupts in the RTEMS program. If I leave the Pi powered off for a little while, it

[GSOC] GPIO status and I2C start

2014-07-05 Thread Andre Marques
Hello, The Raspberry Pi GPIO interrupts are already working, and a test case is available to test that [1]. A function is also provided to debounce a switch if needed. The test case requires two switches and two LEDS using the same setup described at [2] by only changing the pin numbers. The