Hardware requirements
Micro USB cable
EVK-MIMXRT595 board
Personal Computer
Board settings
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J40) on the 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.
Launch the debugger in your IDE to begin running the demo.
Running the demo
The log below shows the output of the example in the terminal window, and user can interact with the application in terminal:
-------------- PCA9420 on board PMIC driver example --------------
Please select the PMIC example you want to run:
[1]. Dumping Mode Settings
[2]. Switch Mode
[3]. Dumping Selected Register Content
[4]. Feed watch dog
Note: The example enable watchdog power in mode 3, so it will timerout after 16 seconds unless “Feed watch dog” before timeout. The output voltage of PMIC regulators can be measured: JP14-1 : PMIC SW1 JP3-7 : PMIC SW2 JP15-3 : PMIC LDO1 JP3-5 : PMIC LDO2