
NXP Semiconductors
KTFRDM34933EVBUG
FRDM-34933EVB evaluation board
KTFRDM34933EVBUG
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2017. All rights reserved.
User guide
Rev. 1.0 — 15 March 2017
36 / 39
6.7 Frequently asked questions
Q:
How do I set up the LVHBridge component when two or more components with
conflicting values are configured to control brushed motors?
Figure 27. Conflict in the required values for components in the project
A:
You can use more LVHBridge components in same project. These components can
share the same timer device in brushed motor control mode, but PWM Frequency and
Timer Device properties must conform in all of the components.
Q:
I sometimes get the following unexpected error while generating Processor
Expert code: "Generator: FAILURE: Unexpected status of script: Drivers\\Kinetis\
TimerUnit_LDD.drv, please contact NXP support". What causes this?
A:
Occasionally, when you enable the LVHBridge component in your project, the
TimerUnit_LDD component channels have not been allocated. If this occurs, changing
certain LVHBridge properties force allocation of the channels. If you are configuring a
stepper motor (Motor Control property set to Stepper), try changing the Output Control
property to GPIO and then back to PWM. If you are configuring a brushed motor (Motor
Control property set to Brushed), change the Control Mode property to State Control and
then back to Speed Control on interface 1 or interface 2.
Figure 28. Unexpected error related to the LVHBridge TimerUnit_LDD component
Q:
I have set up several CPU clock configurations (via the Clock configurations property
of the CPU component.) Sometimes during runtime, when I switch between these
configurations (using the CPU SetClockConfiguration method), the speed of the stepper
motor appears to be inaccurate. Why does this occur?
A:
Switching to a different configuration results in the use of a different input frequency
by a timer device. LVHBridge may not pick up the new value and continues to use the
previous value in its calculations.
Q:
What does the error message "The component has no method to enable its event
(OnCounterRestart)" raised in an LVHBridge TimerUnit_LDD component mean?
A:
This occurs only when you add an LVHBridge component to a project and set the
Motor Control property to Stepper. The error disappears if you change any property of
the LVHBridge component.