Zilogic Systems ZIO User Manual page 23

Table of Contents

Advertisement

ZIO, Motherboard User Manual
4. Click Start to start generating PWM signal.
5. Click Stop to stop generating PWM signal.
Controlling I²C Devices. 
devices present on the bus,
1. Click on the Scan button.
2. Addresses of devices present on the bus is displayed on the list box.
To write to a device,
1. Select the device address.
2. Enter the data bytes to be written in hex, separated by commas, in the Write text box.
3. Click on the Write button.
To read from a device,
1. Select the device address.
2. Select the no. of bytes to read.
3. Click on the Read button.
Controlling SPI Devices.  SPI devices can be accessed using the controls in SPI panel.
To configure the device,
1. Specify the GPIO output that is to be used as chip select, in the Chip Select combo box.
2. If the chip select is active high, select the CS is Active High check box.
3. Specify the clock polarity in the Clk Polarity combo box.
4. Specify the clock phase in the Clk Phase combo box.
5. Specify the endianess in the Endianess combo box.
6. Click on Config. to select the configuration specified. The has to be done every time the
configuration is changed.
To write and read from the device.
1. Specify the list of bytes to be written in the Write text box.
2. Click on Write & Read to write the specified byte and read an equal no. of bytes.
Equivalent Code.  The equivalent code for the currently performed operation is indicated in the
Java and Python tabs. This is an easy way to learn the Java and Python API.
I²C devices can be accessed using the controls in I2C panel. To list
Zilogic Systems
Rev. 2.0
Page 20

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZIO and is the answer not in the manual?

Questions and answers

Table of Contents