Hardware requirements
Mini/micro USB cable
MIMXRT1060-EVKB board
Personal Computer
Oscilloscope
Board settings
Weld 0Ω resistor to R362.
Probe the pwm signal using an oscilloscope
At J17-6
Prepare the Demo
Connect a USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal with these settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the example.
Running the demo
The log below shows the output of the pwm fault demo in the terminal window:
Welcome to PWM Fault demo
Use oscilloscope to see PWM signal at probe pin: J17-6
Connect pin J33-5 to high level and ground to see change.
Note: The level state on pin J33-5 determines the output of the PWM signal
When at low level, the PWM signal will output at pin J17-6.
When at high level, the PWM signal output will be disabled.