UM0935
Running the IBU UI tool
Doc ID 17398 Rev 3
25/53
3.4.1
Steps for making hardware connection
To use any I
2
C based slave with the IBU UI tool, you need to make the connection for
jumper J2, as shown in
●
The SCL (synchronous clock line), SDA (serial data), and GND (ground line) should be
connected to the corresponding lines of the daughter board for I
2
C communication
●
VDD (power supply line) of the two boards should be connected if the daughter board
is to be powered using the IBU UI tool
●
The GPIOs of the IBU UI tool and daughter board can be connected or left
unconnected as per user requirements
●
As shown in
, the SDA and SCL line of the interface is already pulled up to 3.3
V through a resistive pull up value of 4.7 k.
Figure 18.
Connection diagram for I
2
C interface/GPIOs
3.4.2 GPIO
settings
For the GPIO which is to be used along with the I
2
C interface of the 30-pin header, it is
necessary to make the proper settings. These GPIOs may be used as control lines, chip
select or status line, such as interrupt line, or to generate a clock signal using the PWM
feature available on 4 pins, therefore, you need to make the GPIOs settings accordingly.
To understand the modes that are supported by a particular pin, please refer to
.
Through selection, the GPIO can be set in different modes, as shown in
.
By default I2C_GPIO1 to I2C_GPIO22 are in input pull-up mode.
3.4.3 Using
GPIOs
in PWM mode settings
Also in 30 pin interface in I
2
C mode, there is provision to use pin# 7,8,19,21 to use these
GPIOs as PWM clock signal. As shown in the table below, PWM channel 1 is available on
pin 7 of the 30-pin interface. Please refer to
.
Note:
PWM channel 1 and 2 can have different duty cycles but they share the same frequency
To generate different kinds of clocks, configure the PWM channel (1, 2, 3, or 4) by providing
the PWM frequency (maximum value tested is around 10 MHz) and the duty cycle. Please
refer to
30-pin
Summary of Contents for STEVAL-PCC009V2
Page 4: ...Contents UM0935 4 53 Doc ID 17398 Rev 3 Appendix D Tables and figures 50 Revision history 52...
Page 42: ...UM0935 Schematics and BOM list Doc ID 17398 Rev 3 42 53 Figure 32 10 pin com interface V...
Page 43: ...Schematics and BOM list UM0935 43 53 Doc ID 17398 Rev 3 Figure 33 30 pin com interface V...