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.

Connecting to EV2300 using example code

Other Parts Discussed in Thread: BQEVSW

Hi, 

I'm using the example code provided by Ti in vb6 with ev2300. I have installed the appropriate windows 7 drivers. Using the bqEVSW I am able to read the smbus data with no issues, I am also able to send commands and read /write etc.. 

When I run the example code/program from vb6 (ensuring bqEVSW is closed) and try to read anything from the smbus I receive "0000". I even unplugged the ev2300 and ran the program. No error was received and when I try to read a command I still get 0000, with no error message. 

Is it possible GetFreeBoards() is not picking up the correct device? 

Any other advice would be greatly appreciated 

Jourdain 

  • Ahh I believe that it may actually be connecting to the correct device 

    devname: \\?\hid#vid_0451&pid_0036#6&2cb02d24&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}

    However I am still unable to read anything other than 0000. It seems to be sending the correct commands. I'm trying to send command  "1a" Still no luck.

    I have a feeling that this is where my issue is 
    lerror = Form1.Bq80xRW1.ReadSMBusWord(SMBCmd, nWord, &H17)
    I wish I knew more information about the &H17 as the nTargetID