Hardware requirements#
Type-C USB cable
KW47-EVK Board
Personal Computer
Board settings#
No special is needed.
Prepare the Demo#
Connect a USB cable between the host PC and the EVK board J14.
Open a serial terminal on PC for the serial device 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 demo.
Running the demo#
The following lines are printed to the serial terminal when the demo program is executed.
VREF example
ADC Full Range: 65536
Default (Factory) trim value is :15
Use trim value: 0
ADC conversion result: 20665
Actual voltage on VREF_OUT: 1.006V
Use trim value: 1
ADC conversion result: 22726
Actual voltage on VREF_OUT: 1.106V
Use trim value: 2
ADC conversion result: 24827
Actual voltage on VREF_OUT: 1.208V
Use trim value: 3
ADC conversion result: 26915
Actual voltage on VREF_OUT: 1.310V
Use trim value: 4
ADC conversion result: 28968
Actual voltage on VREF_OUT: 1.410V
Use trim value: 5
ADC conversion result: 31041
Actual voltage on VREF_OUT: 1.511V
Use trim value: 6
ADC conversion result: 33173
Actual voltage on VREF_OUT: 1.615V
Use trim value: 7
ADC conversion result: 35173
Actual voltage on VREF_OUT: 1.712V
Use trim value: 8
ADC conversion result: 37292
Actual voltage on VREF_OUT: 1.815V
Use trim value: 9
ADC conversion result: 39309
Actual voltage on VREF_OUT: 1.913V
Use trim value: 10
ADC conversion result: 41332
Actual voltage on VREF_OUT: 2.012V
Use trim value: 11
ADC conversion result: 43384
Actual voltage on VREF_OUT: 2.112V