Advantech PCM-3362 Personal Computer User Manual


 
PCM-3362 User Manual 44
and 1 high, 3 to low, the pin number should be ‘0x0B/, and then you should
key in the value ‘0x0A’ to write.
Click the WRITE GPIO DATA button to write the GPIO output pins.
I
2
C
When the application is executed, you can read or write a byte of data through I2C
devices. All data must be read or written in hexadecimal system.
Read a byte
Key in the slave device address in Slave address field.
Key in the register offset in Register Offset field.
Click the READ A BYTE button and then a byte of data from the device will
be shown on the Result field.
Write a byte
Key in the slave device address in Slave address field.
Key in the register offset in Register Offset field.
Key in the desirous of data in Result field to write to the device.
Click the WRITE A BYTE button and then the data will be written to the
device through I
2
C.
SMBus
When the application has executed, you can click the radio button to choose to test
each access mode, i.e. Access a byte, Access multiple bytes and Access a word. All
data must be read or written in hexadecimal except the numbers for radio button:
Access multiple bytes mode must be written in decimal. You can test the functional-
ities of the watchdog as follows:
Read a byte