This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ76PL455A-Q1: Example code query

Part Number: BQ76PL455A-Q1

Hi,

I am using this device with a TMS570 family MCU, and I want to start from the example code that you provide. 

The thing is that I would like to understand all of the .c files that can be found in the source code folder. Specially, my question is about the

- esm.c

- notification.c

- rti.c

- sys_pcr.c

- sys_phantom.c

- sys_vim.c

- sys_pmu.c

what are all of these files for? I would appreciate any explanation so I can get to understand at all how the BQ device works.

Thank you so much in advance,

Regards

  • Hello,

    These files are actually the TMS570 MCU support files and are not a part of the BQ76PL455 device.

    We will forward this thread to the TMS support team to have your question answered. If you have any further questions regarding the BQ76PL455 or the pl455.c file in the code, please let us know.

    Regards,

    Viktor.

  • Hello,

    Those files are used by TMS570 MCU. 

    ESM.c is the source file for ESM module. The ESM (Error Signaling Module ) manages the various error conditions on the TMS570 microcontroller. The ESM can toggle a Error pin to signal severe device failure, and it can generate interrupt for lower severity channels.

    Notification.c: User notification definition file. This file defines empty notification routines such as gioNotification(..), and rtiNotification(..), etc. Those functions are callback functions used by the interrupt service routine. 

    rti.c: source code for RTI module. The RTI (real-time interrupt) module provides timer functionality for operating systems and for benchmarking code.

    sys_pcr.c: the driver file for Primary System Control Registers.

    sys_vim.c: source code for VIM module. The VIM (vectored interrupt manager) provides hardware assistance for prioritizing and controlling the interrupt sources present on this device.

    sys_phantom.c: Phantom Interrupt source file. 

    sys_pmu.c: source file for performance monitor unit.