Private
Public Access
2
0

edison.md: add some SPI limitations

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-02-27 16:50:55 +00:00
parent a747c80f63
commit 2755c571ff

View File

@@ -20,6 +20,9 @@ in libmraa:
- i2c is exposed on i2c-6, therfore you must use bus 6 and not bus 0 - i2c is exposed on i2c-6, therfore you must use bus 6 and not bus 0
- PWM avaible on default swizzler postions. (3,5,6,9) - PWM avaible on default swizzler postions. (3,5,6,9)
- SPI exposed is also used for the ADC. Try not to use your own CS. - SPI exposed is also used for the ADC. Try not to use your own CS.
- Max SPI speed is 25Mhz/4 ~6.25Mhz
- SPI PM can sometimes do weird things you can disable it with:
echo on > /sys/devices/pci0000\:00/0000\:00\:07.1/power/control
- ADC kernel module will return 12bit number but the ADC itself only has an - ADC kernel module will return 12bit number but the ADC itself only has an
accuracy of 10bits. This ADC is only included on the arduino board. accuracy of 10bits. This ADC is only included on the arduino board.
- AIO pins are treated as 0-5 in mraa_aio_init() but as 14-19 for everything - AIO pins are treated as 0-5 in mraa_aio_init() but as 14-19 for everything