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.

WEBENCH® Tools/LMP91300: GUI of LMP91300SWIFEVM

Part Number: LMP91300
Other Parts Discussed in Thread: SN74AHC1G04

Tool/software: WEBENCH® Design Tools

Hi team,

I am traying to use the API ofe the LMP91300_SWIF_EVM.

Currently, when I read a register, the API show the last data that I send, it does not show the real data of the register, this make a little difficult to read the values of the registers.

To explain better this situation, I am going to use an example:

In the next figure, you can see that I write in the register 0x6a the value 0xa1. If I read the register 0x6b, you can see that the value received is the same that I write in the register 0x6a.

If I read the register 0x7A, who is RO, the value that appear is the same that I write in the register 0x6a.

log of command:

Using a oscilloscope, we can see that the response is different than the API shows:

The yelow signal is: TP11 SWIF_MOSI

The green signal is: TP14 SWIF_MISO#

The blue signal is: TP12 SWIF_MISO

Writing operation in register 0x6a, data 0xa1:

Reading operation in register 0x6b:

Zoom previous picture:

You can see that the data is 0x00, not 0xa1.

Reading operation in register 0x7a:

Zoom previous picture:

You can see that the data is 0x80, not 0xa1.

It seems that the sent data is stored in a variable and then that variable is always returned when we read any register.

I used the firmware onto the MSP430: lmp91300_rv_strm.txt.
I try to use different browser but it is indifferent.
May you help us? Thanks.

Regards.

  • Hello,
    Have you tried reinstalling the GUI?
    Thanks,
    Luke
  • Hello,

    I am using this software: LMP91300EVMSoftware_rev4.8_SWIF_WithDriver.zip

    I have reinstalled the drivers on the computer and executed the start_WEBENCH.bat file on Win 10 and Win 7, using as browsers Chrome, Firefox and Internet explorer.

    It has not worked in any case.

    Thanks.

  • Hello,
    I would first try to rule out a hardware issue. The first thing to try is to look at the 8&12V line. Is there a WIF signal going to the LMP91300. Next is to check at the pin of the part to make sure that the voltage levels are correct (8V and 12). If those are ok, then you will need to start tracing through the SWIF board and see if the LMP91300 is writing values out. You can check the signal at the sense resistor on the SWIF board.
    Regards,
    Luke
  • Hello Luke,

    I have done the excercice of evaluate the signal Tx (From MSP430 - To LMP91300) and the signal RX(From LMP91300 - To MSP430), It work correctly.

    Below you can see the next signals:

    Green: TP11, it goes from 8 to 12 V.

    Pink: Signal at the sense resistor on SWIF board.

    Blue: TP12.

    Yellow: TP14.

    As you can see, it seems that there is not a hardware issue.

    Regards

  • Hello,

    Thanks for the screen captures. There's still one more location to check, which is the voltage between pin 13 and pin 6 of the LMP91300. TP11 may show 8V and 12V, but if there is any type of protection circuit it will be different at the pins of the LMP91300.

    Thanks!

    Luke

  • Hi Luke,

    Below you can see the voltage between pin 13 and pin 6 of the LMP91300:

    signal green:Tp11

    Signal blue: Pin13 of LMP91300

    As you can see, the voltaje looks great.

    Regards,

    Thanks.

  • Hello,

    Thanks for confirming the voltage levels. The hardware does look to be correct. It could be that version 4.8 of the GUI has a bug. Try using version 4.7, attached below and let us know if you're still having issues.

    LMP91300EVMSoftware_rev4.7_SWIF_WithDriver.zip

    Thanks!

    Luke

  • Hi Luke,

    It is the same problem with version 4.7 than using version 4.8.

    I checked it on Win 10 and Win 7, and using different browsers. It can be a problem about the MSP430's firmware?

    Thanks,

    Regards.

  • Hello,

    Can you try clearing the cache of the browser?

    Thanks,

    Luke

  • Hi Luke,

    I have cleaned the cache of all browsers and the GUI does not work.

    Thanks

  • Hello,

    Have you tried with another SWIF board? It still could be the problem with the circuitry that converts the current into a signal. You can trace what is coming out of the current sense part and then what happens to it as it goes through the inverter.

    Otherwise, to rule out GUI vs firmware issue, you could look at the DOS box that is always running in the background. Every time you read, it will show the value that is received by the firmware. This will help rule out whether it is firmware or the GUI.

    Thanks!

    Luke

  • Hi Luke,

    I´m trying with two SWIF board´s, in both of them it happened the same.

    Below you can see the diferents signals, the Log, the GUI and the schematic that we are using.

    ·Green TP11

    ·Yelow TP12

    ·Blue TP14

    As you can see, I´m reading the Temp register (0x79). Above, it shows that the value is 0x58, It corresponds with 24 Celsius degrees.
    Below, looking DOS window, it shows 179 (in decimal) that corresponds with 0xb3 that we can see in GUI window.

    We are using this schematic, it is the same that TI provided, without the DNS components, except D1(BAT54S). We are not using the inverter component, but if I add it: U12(SN74AHC1G04) and C29(0.1uF) without R25(0R), It does not work.

    I have used both versions of the GUI, 4.7 and 4.8.

    Thanks,

    Regards.

  • Hello,
    It looks like the problem may be with R25. Try populating only this component (not U12) so that our firmware can receive the SWIF_MISO bar signal. As a bit more explanation, the LMP91300 requires the SWIF signal as shown in the datasheet and it also transmits back in the same format. However, the firmware transmits the SWIF signal inverted. The EL7156 inverts this signal so that it is correct for the LMP91300. When the LMP91300 communicates back it is in the normal SWIF format. U3 converts it to voltage and then U11 inverts it so that the firmware can work with it. We don't stuff U12 but do stuff R25 so that the micro gets this inverted signal. Do not install U12 or it will not work with our firmware.
    Thanks!
    Luke
  • Hello,


    As shown in the schematic that I have added, I do not work with U12. I installed it to do a check because I did not know how the firmware works when it receives the signal from the LMP91300, but in no case I work with U12 installed.


    Thanks for the clarification of the firmware operation. The images that I have added in the previous comment are without this component installed, and the firmware does not detect the signal, or does not transmit the information correctly to the GUI.

    Thanks

    Regards.

  • Hello,

    Just to confirm, you've done the following:

    • U12: Not installed
    • R25: installed with 0Ω

    If you install U12 or do not install R25, then the software will not work correctly.

    Thanks!

    Luke

  • Hello,

    Yes, I have done what you said,I have got installed R25(with 0Ω) and I have not got installed U12.

    Regards,

    Thanks