Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c2_hardware_1w [2016/11/03 09:05] odroid [Change the Default GPIO pin for 1-Wire interface] |
en:c2_hardware_1w [2016/11/14 15:11] odroid [Dallas 1-Wire Support] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Dallas 1-Wire Support ===== | + | ====== Dallas 1-Wire Support ====== |
* Support for Dallas 1 Wire is included on Kernel 3.14.29-29 and upwards. Make sure you are updated. | * Support for Dallas 1 Wire is included on Kernel 3.14.29-29 and upwards. Make sure you are updated. | ||
Line 59: | Line 59: | ||
Two sensors in parallel. | Two sensors in parallel. | ||
- | ===== Change the Default GPIO pin for 1-Wire interface ===== | + | ====== Change the Default GPIO pin for 1-Wire interface ====== |
Ex) Default GPIO pin change to GPIOX.BIT19 \\ | Ex) Default GPIO pin change to GPIOX.BIT19 \\ | ||
Please refer to below links for details related to gpio mapping in the device-tree.\\ | Please refer to below links for details related to gpio mapping in the device-tree.\\ | ||
Line 75: | Line 75: | ||
If the reboot doesn't affect the dtb update, you need a hard reset(power off/on).\\ | If the reboot doesn't affect the dtb update, you need a hard reset(power off/on).\\ | ||
- | **Don't change the first number in the fdtget command output. For example, 18(0x12) is the GPIO group number.** | + | **Use the first number in the fdtget command output when you run fdtput command. For example, 18(0x12) is the GPIO group number.** |
DS1820 is connected to Pin #11 | DS1820 is connected to Pin #11 |