Easyi3C is a leading supplier of embedded system tools that simplify the development and debugging of various communication protocols. The company offers a range of products designed to help engineers and developers use I3C/I2C , USB and MIPI, JEDEC, MCTP and other protocols more efficiently.
To meet customers' various automated testing needs, customers may use GPIO to trigger some signals during I3C testing. We have added GPIO functionality to the Easyi3C Tower Host Adapter (Pro+) .
As shown above, we provide four IO ports that can be used as GPIOs. Each port can be configured as either input or output. The GPIO state is set by the configuration bit. When configured as an output, the voltage level is determined by the output state. When configured as an input, the GPIO can be pulled high by an internal weak pull-up. As shown below:
As shown above, the GPIO voltage follows VCC, which can be set via the API: ez_set_io_voltage().
To facilitate automated testing, we provide the following set of APIs to operate GPIO based on the above definition:
By coordinating the above three functions, we can control GPIO. The following is the sample code:
Through similar codes, GPIO can be controlled, which is also convenient for cooperation with other APIs during trial and automated testing.
For user convenience, we have also added a GPIO control page to our GUI, Tower console, as shown below:
Through the above description, everyone should have a preliminary understanding of the GPIO usage of Easyi3C Tower Host Adapter (Pro +). In future tests, you can use GPIO in different ways according to the specific test requirements to meet different test needs.