Hardware requirements
Micro USB cable
MCIMX7ULP-EVK board
J-Link Debug Probe
5V power supply
Personal Computer
Li-on Battery Cell
Board settings
No special settings are required.
Please note this application can’t support running with Linux BSP!
Prepare the Demo
Connect 5V power supply and J-Link Debug Probe to the board, switch SW1 to power on the board.
Connect a micro USB cable between the host PC and the J6 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 example.
Running the demo
The log below shows the output of the pf1550 example in the terminal window:
————– PF1550 on board PMIC driver example ————–
Please select the PMIC example you want to run: [1]. Setting Regulator Output Voltage [2]. Dumping Regulator Output Voltage [3]. Dumping Selected Register Content [4]. Charge Li-on Battery
User can press the number key to try the corresponding function of the demo.
Note
In order to protect the i.MX 7ULP from over-voltage, it is recommended to setting regulator’s output voltage with following restraint: Buck Switch1’s range: 800mV ~ 1100mV; Buck Switch2’s range: Fixed to 1200mV; Buck Switch3’s range: Fixed to 1800mV; LDO1’s range : 3000mV to 3300mV; LDO2’s range : Fixed to 3300mV; LDO3’s range : Fixed to 1800mV. The Setting Regulator Output Voltage function of this example is used to demonstrate the usage of SDK PF1550 bare-bone driver, user need to adjust the regulator output according to specific board design.