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.

CCS/BQ76PL455A-Q1: First configuration of bq76pl455

Part Number: BQ76PL455A-Q1

Tool/software: Code Composer Studio

I am using bq76pl455 for monitoring and balancing 16 cells . I am new to this . I have read datasheet and software design  reference  for bq76pl455 . But i didn't get from where to start programing that is which command  should be given first  form c2000 piccolo launchpad SCI  . I am confused about  which command should send first n after that which

among the following

1. Power configuration

2. Device Address

3. communication configuration

4.Device Control

5.Device Configuration

 

  • Hi Indrajit,

    Have you looked at section 8.3 of the datasheet? Section 8.3.2 in particular describes the steps you are looking for. 

    Also something to consider.... the software reference code was  built with the TMS570. If you are using the C2000, you may need  to modify the  API provided to fit  the registers for the  C2000.

  • Thanks for your reply . I have written a function for sci transmitter and receiver for c2000 piccolo launchpad could you tell me are they correct or not , I didn't have other controller with uart port so i can't check the logic and unable to verify .

    void sciSend(uint32 length, uint8 * data)
    {
    while((length--)>0U)
    {
    while(SciaRegs.SCICTL2.bit.TXRDY==0)
    {}
    SciaRegs.SCITXBUF=*data;
    *data++;

    }
    }

    void sciReceive(uint32 length, uint8 *data)
    {
    while(length!=0)
    {
    while(SciaRegs.SCIRXST.bit.RXRDY!=1)
    {}
    *data=(uint8)(SciaRegs.SCIRXBUF.all);
    *data++;
    }
    }