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.

LAUNCHXL-TMS57004: Generating include files in halcogen for TMS57004

Part Number: LAUNCHXL-TMS57004
Other Parts Discussed in Thread: BQ76PL455-Q1, BQ76PL455A-Q1, BQ76PL455A, HALCOGEN

Dear All,

I am developing a BMS using BQ76PL455 EVM and TMS-57004 launchpad. By editing the "sys_main.c" file in the source folder of example code( bq76pl455-q1 evm) I am able to read voltage of cells.

I have made a battery pack of 8 cells in series.

In the example code, they have include gio.h, sci.h and rti.h.So I have enabled gio, rti and sci drivers. 

For rti we enable RTI compare 1 in VIM module..

For UART we set the baud rate of 250K and enable channel 13 in VIM module.

I have includes in pl455.h, pl455.c, datatypes.h and swi_util.h from example code but I am not getting any output in this case.

I am including both the project below.

1. bq76PL455A-Q1 Example Code1 ( which is working correctly)

2. Battery ( which is not giving any output).

Please help in resolving the issue.

2350.Battery.rar

8510.bq76PL455A-Q1 Example Code1.rar

Regards,

Gunit

  • Hello Gunit,

    What are the differences between those two projects (battery, and bq76PL455A_Q1 example)? I had a quick review of the code, sys_main.c in both project are the same. The sys_vim.c shows that you don't enable SCI interrupt (channel 13) in battery project.

    What do you mean there is no output?
  • Sir,

    Thanks for replying.

    In the project named battery the include files are generated by me in halcogen whereas in project bq76pl455A-Q1 example the include files are example code given in TI website.

    In the project named battery we forget to enable SCI interrupt ( Channel 13) while generating code in halcogen so we created a new project named battery 1 but still we are not getting any output.

    I am also attaching the new project "battery1" along with the screenshot of outputs for both projects (bq76pl455A-Q1 and Battery1).

    7701.Battery1.rar

    Output of bq76pl455A-Q1  project:

    Output of battery1  project:

    Regards,

    Gunit

  • Sir,

    I am able to resolve the issue actually I have configured 2 stop bits in UART that's why the slave was not responding. But I changed stop bit to 1 the slave is now responding.

    Regards,
    Gunit
  • Hi Gunit,

    Excellent.