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.

INA239: Can't get plots while measuring current and voltage using the slau839

Part Number: INA239

Hi Ti,

I have the slau839 controller, connected to an evaluation board (SBOU241E) with the INA239 installed.

I am able to measure and read the data out on he registers, but I don't get any data in the 'Results Data' Tab - the plots are all zero and the data exported to .csv is all zero.

I have collecting data on a defined number of samples as well as free-running - both cases yield the same result.

What could be the reason for this?

  • Hello,

    Thank you for using the TI forum. I have a few questions to help debug this:

    1. Did you check to make sure you were on the latest firmware? (file->program device)

    2. Do you see values on the results registers from the register page?

    3. Can you send me a screenshot of the registers page after clicking "read all registers" so I can look at all register values to evaluate further.

    Regards,

    Mitch

  • Hi Mitch,

    1. when I try (file->program device) I get an "unsuccessful " message.

        I have tried to use the 'bsl' command from serial as well, I don't know if it worked - is there a way to read the fw version from the device?

    2. I do see correct values on the registers, including VBUS and Current which I'm measuring.

        I was also able to read them from the serial port, but pressing 'collect data' in results tab doesn't work - when exporting to .csv all measurements are zero as well as the plots, of course. I've tried sending 'collect' and 'stop' commands from the serial port as well.

    I understand from the docs the data is sent through 'usb bulk transfer' - how do I collect it?

    3. Attached - 

    Thanks a lot,

    A. 

  • Hello,

    1. Yes, you can check the firmware version from Help -> About. the timestamp. you should see this:

    if you don't, then make sure you are using the newest GUI: https://dev.ti.com/gallery/info/CurrentSensing/INA228_229_237_238_239EVM_GUI

    You may have to connect the USB to a different port, or not use a hub. Also, if the firmware fails, unplug and replug the device before trying again. 

    2. If you want to collect the data from the bulk channel without the GUI, then you have to use some program or method to connect and read from bulk devices. I know some people use LabView to read the bulk data. Or sometimes Python. Do you see a "Bulk Device Timeout" error when you connect? This should work if you are on the latest firmware and the bulk device connected properly.

    3. I don't see anything weird in the register map.  do you see a green "Connected" on the homepage?

    Regards,

    Mitch

  • Hi Mitch,

    Thanks for the support.

    1. Help-->About gives returns this:

    However, I've just found that clicking the small information icon next to device connected gives info of the fw and the fields are empty.

    I'm not using a USB hub. I've tried both ports on my laptop, and I'm using the usb cable that was supplied with the evaluation board.

    Right before it connects, I see this message so it seems the fw used is a default old version.

    Is there to download the fw manually and install it?

    2. I'll check labview, though I think the fw issue must be resolved first.

    Thanks,

    A.

  • Problem solved.

    Required updating the driver for "Tiva/Stellaris Device Firmware Update" device.

    information from this page: 

    e2e.ti.com/.../faq-how-do-i-resolve-pamb-evm-connectivity-and-or-driver-installation-issues