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.

LAUNCHXL2-TMS57012: HALCOGEN configuration of LAUNCHXL2-TMS57012 for SCI2(LIN) port to communicate with BQ76PL455EVM.

Part Number: LAUNCHXL2-TMS57012
Other Parts Discussed in Thread: BQ76PL455EVM, HALCOGEN

I have currently on a BMS project using LAUNCHXL2-TMS57012 as controller and BQ76PL455EVM as battery sensing.

I have successfully communicate with BQ76PL455EVM/BQ79616EVM through SCI1 port of LAUNCHXL2-TMS57012.

HALCOGEN Setup steps:

1. RTI,GIP, SCI Driver enabled.

2. In SCI section RX_INT Enabled (receive interrupt enabled). Baurdrate: 250000 (for BQ76PL455EVM )

3. In VIM channel section, RTI Compare 1 and SCI level 0 interrupt enabled.

As per sample code of BQ76PL455EVM, the required source and header files are included in this project, and made required changes in PL455.c source file for SCI.

I am able to receive the cell voltage data.

However, when I set it for SCI2(LIN) port. I am unable receive data from BQ76PL455EVM. For SCI2, I have made required changes in Halcogen and PL455.c source file.

Q1. Is it possible to use SCI2 port to communicated BQ76PL455EVM or not?

Q2. Is there any specific changes needed in hardware for SCI2?

  • Q1. Is it possible to use SCI2 port to communicated BQ76PL455EVM or not?

    Yes, you can use SCI2 for communicate with BQ76PLx part. 

    On Launchpad, the SCI2 is connected to USB port as virtual COM port on PC side, it should not be connected to another UART device. If you connect 2 UART devices to SCI2, only one of the three UART devices can provide input only. So if you use Launchpad, I don't recommend using SCI2 for BQ75PLx.

    Q2. Is there any specific changes needed in hardware for SCI2?

    There is no series resistor on SCI2 TX bus and RX bus between TMS570LS12x SCI2 port and TM4C129 (used as xds110), there is no easy to remove TM4C129 from SCI2.