www.8devices.com
|
|
Author |
Message |
BillyWilliams
Joined: 25 Jan 2013, 16:04 Posts: 6
|
|
25 Jan 2013, 16:10 |
|
|
JaXXoN
Joined: 26 Dec 2012, 16:31 Posts: 50
|
|
25 Jan 2013, 18:11 |
|
|
BillyWilliams
Joined: 25 Jan 2013, 16:04 Posts: 6
|
|
25 Jan 2013, 21:51 |
|
|
JaXXoN
Joined: 26 Dec 2012, 16:31 Posts: 50
|
GPIO1 is already in use by the I2C driver, i.e. of you try "echo 1 > /sys/class/gpio/export", you will get "ash: write error: Device or resource busy". The pins for /dev/ttyS0 are free (GPIOs 7 to 14, even header pins from 2 to 16).
regards
Bernhard
BTW.: did you edit your posting? First time I read it I couldn't see the gpio_request portion. So I was confused and thought it might help to provide a bunch of options on how to drive the gpios from user space.
|
27 Jan 2013, 00:16 |
|
|
BillyWilliams
Joined: 25 Jan 2013, 16:04 Posts: 6
|
|
28 Jan 2013, 08:51 |
|
|
BillyWilliams
Joined: 25 Jan 2013, 16:04 Posts: 6
|
|
28 Jan 2013, 10:42 |
|
|
BillyWilliams
Joined: 25 Jan 2013, 16:04 Posts: 6
|
[quote="JaXXoN"][/quote] Hello Bernhard, I've checked the menuconfig. I used the default settings. The default image just added the I2C module. It doesn't add the SPI module. But when I want to access the GPIO3-6, the system output: no access to gpio... Do yo have any idea? Thanks very much!
|
28 Jan 2013, 12:51 |
|
|
BillyWilliams
Joined: 25 Jan 2013, 16:04 Posts: 6
|
|
28 Jan 2013, 15:56 |
|
|
JaXXoN
Joined: 26 Dec 2012, 16:31 Posts: 50
|
|
28 Jan 2013, 16:55 |
|
|
JaXXoN
Joined: 26 Dec 2012, 16:31 Posts: 50
|
|
29 Jan 2013, 00:57 |
|
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|