Linux BSP v1.
Linux BSP v1.
Linux BSP v1.
Linux BSP v1.2
2
2
2....0
0
0
0 Development
Development
Development
Development Guide
Guide
Guide
Guide
31
Now GPIO 24-27 should output the high state, which changes the low state of
GPIO 20-23 to be high state.
d.
Examine the value of GPIO 20-23 input data register value.
# devmem2 0xd811003b b
# devmem2 0xd811003b b
# devmem2 0xd811003b b
# devmem2 0xd811003b b
/* Read GPIO 20-23 input Registers*/
The value should be 0xF because of the influence of GPIO 24-27.
5.7.
External RTC control
This section describes how to operate the external RTC function. Please use
i2c-tools utility to access the external RTC, which was pre-installed in the file
system image. If you need to change the kernel configurations, please refer to
“VAB-600_Linux_defconfig” in /BSP/Kernel_Source_Codes/ to ensure the
external RTC function.
5.7.1.
External RTC hardware design
The external RTC IDT1337G was controlled by VAB-600 via I2C0 bus. The
slave address of IDT1337G is 0x68 and it supports 16 timekeeper registers.
The IDT1337G supports auto power-on control by using alarm2 and INTB pin.