UM0935
Running the IBU UI tool
Doc ID 17398 Rev 3
33/53
Through selection, the GPIO can be set in different modes. By default, UART1
(SCI1)_GPIO1 to UART1 (SCI1)_GPIO20 are in input pull-up mode.
3.6.3 Using
GPIOs
in PWM mode settings
Also in the 30-pin interface in UART1 (SCI1) mode, there is a provision to use pin# 7,8, 19,
and 21 to use these GPIOs as PWM clock signal. The 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
The frequency of the PWM clock generated can vary from 10 kHz to 10 MHz.
The duty cycle of the PWM clock can vary from 0 % to 100 %. Logic '0' is obtained with the
duty cycle at 0 % and logic '1' is obtained with the duty cycle at 100 %.
3.6.4 Using
GPIOs
in ADC mode settings
There are 4 ADC channels available on pin# 20, 22, 24, and 25 of the 30-pin interface. So
these pins can also be additionally set as analog channel input. To do this, set the particular
channel in ADC mode and perform the analog settings. Analog settings include ADC sample
time selection and ADC resolution. After that, specify the number of samples that are
required. Analog input can be provided on this pin and the set of the digital value can be
obtained.
If the resolution set is 8-bit, one byte is obtained for every sample of the ADC conversion.
If the resolution set is 12-bit, two bytes are obtained for every sample of the ADC
conversion.
ADC sample time selection values can be one of the following:
7.5 cycles, 13.5 cycles, 28.5 cycles, 41.5 cycles, 55.5 cycles, 71.5 cycles, or 239.5 cycles.
3.6.5
UART1 (SCI1) header settings
Once the GPIO settings are completed, the daughter board can be connected to the IBU UI
board. Before using the UART1 (SCI1) communication, some parameters must first be
defined.
These parameters include the selection of parameters such as:
●
UART (SCI) bits per second values can be 110, 300, 1200, 2400, 4800, 9600, 19200,
38400, 57600, 115200, 230400, and 460800
●
UART (SCI) data per bits can be 8-bit or 9-bit
●
UART (SCI) parity bits can be even, odd, or none
●
UART (SCI) stop bits can be 1 or 2
●
UART (SCI) flow control can be hardware, hardware CTS, hardware RTS, or none
Once the selection is made, it sets the UART1 (SCI1) interface and now the system is ready
to read or write the data from the UART1 (SCI1) slave device connected to the IBU UI board.
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...