
Software Description
KT912F634UG User’s Guide Rev. 2.0 10/2013
Freescale Semiconductor, Inc.
29
Archive Information
Archive Information
8.3.4.6
LIN Module
The control panel provides limited LIN functionality. The user can only enable the LIN module and view the
received data. Since the baud rate, message ID, and message size are defined in the LIN slave driver before
the code compilation, these parameters are already preset, and the user is not allowed to modify them.
However, it is possible to change these parameters in the source code and recompile the embedded application.
Figure 24. LIN Module Block
8.3.4.7
High Side and Low Side Switch Control, and PWM Module
The control panel allows full control of the HS and LS switches, in conjunction with the wide frequency range of
the 2-channel PWM module. To turn any switch on, the user must click on one of the four green buttons on the
upper part of the PWM module panel section. The PWM will have no effect on the HS and LS switching unless
the switches are turned on. The PWM channels of the PWM module can be enabled separately by checking the
tick box next to “Enable PWM Channel 0” or “Enable PWM Channel 0”, respectively. The frequency and the duty
cycle are set by a pair of sliders. The PWM module allows setting a positive or negative duty cycle, chosen by
a pair of radio buttons, right of the duty-cycle slider. The value of the PWM frequency is determined by the value
of the frequency slider and the frequency range scroll-down box, positioned right of the frequency slider. The
value of the frequency displayed above the slider is the percentage of the range. There is a pair of radio buttons
named “Channel 0 Setting” and “Channel 1 Setting”. By toggling of these radio buttons, the user can set the
frequency and the duty cycle for both channels. At the bottom of this frame, the user can enable the PWM for
each HS and LS switch independently, as well as assign the PWM channel.
Warning:
Even though the PWM module is capable of generating frequencies over 1.0 MHz, the HS and LS
switches can be controlled by frequencies only up to 20 kHz. The user can test the PWM module at higher
frequencies on the PTB2 output pin.
Figure 25. HS and LS Switches Control, PWM Module
HS/LS switches control
Enabling the PWM channels
Toggling the channels setting
Duty-cycle slider
Frequency slider
Enabling the PWM on the switches