Controls displayed on the UI are changed automatically whenever the operation mode is
changed. Users can select the operation mode according to their needs. For example, if user
needs both I²C and SPI controls, I²C/SPI mode should be selected, if GPIO pins are needed
along with SPI, SPI/GPIO mode should be selected.
Note There are six operational pins on the Onyx device, two for I²C and four for SPI.
GPIO pins are configured according to the operation mode. Pins of communication
protocol that is not selected are configured as GPIO for I²C/GPIO and SPI/GPIO pins.
For example, in I²C/GPIO mode, SPI pins are configured as GPIO pins. In the GPIO
mode, all pins are configured as GPIO pins.
I²C Control Panel
When user selects any operation mode with I²C enabled, I²C Control panel is displayed.
There are two tabs to control the I²C, one is for master operations and the other is for the
slave operations.
I²C Master Operations
In the I²C master mode, user can:
Set bit rate
Write to a slave device
Read from a slave device
Read a register value from a slave device
DE4001_USER MANUAL
Rev. No:0 Rev. Date: 05.08.2023
Figure 16: I²C control panel
www.deico.com.tr
12 / 31