SNVU839 November   2022 LP8758-B0 , LP8758-E0 , LP8758-E3 , LP8758-EA

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
    1. 1.1 LP8758 Module Purpose
    2. 1.2 Module Design Details
    3. 1.3 Module Programming Set Up
  4. 2Programming the Module with Sample Code
    1. 2.1 Software Installation
    2. 2.2 Powering Up the Module
    3. 2.3 Steps to Program the Module with Sample Code

Steps to Program the Module with Sample Code

  1. The sample code using the "Pic-as Compiler Toolchain" and I2C to communicate between the LP8758 module and the MCU.
  2. Refer to TI provided “LP8758 Module Sample Code” and execute the code by performing “RUN Main Project”to program the module.
  3. After successful programming, the output window in MPLAB X IDE will show “Program/verify complete”.
  4. Change registers data (circled in red as an example) as much as needed in “#define” directives for LP8758 necessary settings for real applications.
  5. The reference register address/data and output voltage codes can refer to either device data sheet or TI provided “LP8758_sample_module_programming_table”.
GUID-B710265A-9CA8-4445-AF7F-0E1E6F5C5D41-low.png Figure 2-1 Data Definition in Sample Code-1. Change the data (circled in red as an example) defined in the sample code to change the buck power rail output according to application requirements.
GUID-88CA5553-F570-4339-82DD-B70325B1141F-low.png Figure 2-2 Data Definition in Sample Code-2. Change the data (circled in red as an example) defined in sample code to make the buck power rail output according to application requirements.