Hardware requirements
FRDM-K32L3A6 board
Personal Computer
Micro-USB cable
Board settings
Populate the capacitor C41 (10uF).
Prepare the demo
Set the SoC booting up from core 0 (CM4 core), since the program would be downloaded and run in core 0.
Connect the board (OpenSDA port) to PC with the Micro-USB cable.
Open a serial terminal on PC for board’s UART-RS232 with these settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Build the project and download the image into the board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, the log would be seen on the OpenSDA terminal like as below and LED will blink. Press any key to display the latest measuring value and the battery voltage value.
dcdc_framework demo.
Press any key to trigger the measurement.
vBandgapValue: 11248
vBatteryValue: 37600
vBatteryMv : 3342