Hardware requirements#
Type-C USB cable
FRDM-MCXA577 board
Personal Computer
Board settings#
No special settings are required.
Prepare the Demo#
Connect a USB Type-C cable between the host PC and the MCU-Link USB port on the target board.
Open a serial terminal with the following 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 log below shows the output of the hello world demo in the terminal window:
VREF example
ADC Full Range: 65536
Default (Factory) trim value is :0
Use trim value: 0
ADC conversion result: 20214
Actual voltage on VREF_OUT: 1.006V
Use trim value: 1
ADC conversion result: 25110
Actual voltage on VREF_OUT: 1.249V
Use trim value: 2
ADC conversion result: 30150
Actual voltage on VREF_OUT: 1.500V
Use trim value: 3
ADC conversion result: 36212
Actual voltage on VREF_OUT: 1.801V
Use trim value: 4
ADC conversion result: 41135
Actual voltage on VREF_OUT: 2.046V
Use trim value: 5
ADC conversion result: 50208
Actual voltage on VREF_OUT: 2.498V