8devices Community https://www.8devices.com/community/ |
|
Working with SPI, GPIO and I2C https://www.8devices.com/community/viewtopic.php?f=1&t=13 |
Page 2 of 3 |
Author: | David [ 10 Jan 2012, 13:36 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Author: | Saulius [ 10 Jan 2012, 19:08 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Some progress - I2C example. |
Author: | David [ 10 Jan 2012, 20:07 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Thanks for posting! Are the I2C pins are the same as GPIO 1 and GPIO 2 in your GPIO example? What are R3 and R4 for? Are they protection resistors that limit the current in case something goes wrong? |
Author: | Saulius [ 10 Jan 2012, 20:32 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Yes, it is. R3 and R4 are recomended by I2C standard. |
Author: | David [ 11 Jan 2012, 07:56 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Author: | gedass [ 11 Jan 2012, 08:05 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Author: | David [ 11 Jan 2012, 08:53 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Author: | David [ 17 Feb 2012, 14:27 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Just a small bump. Do you guys have any idea why only some of the GPIO's are working, even if they are set to GPIO using mmio? |
Author: | Saulius [ 17 Feb 2012, 17:36 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Some of them are defines as special functions, and probably used by some drivers. |
Author: | David [ 17 Feb 2012, 18:02 ] |
Post subject: | Re: Working with SPI, GPIO and I2C |
Page 2 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |