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.

MSP430FR6043: USS Water demo GUI. Error no.24

Part Number: MSP430FR6043
Other Parts Discussed in Thread: EVM430-FR6043

Hi,

I've created a custom board with MSP430FR6043. I've used the "EVM430-FR6043" as a reference design.

Referring to this thread link, I use the CAPTIVATE-PGMR to connect my custom board to the GUI (I use: HID BRIDGE IRQ, HID BRIDGE I2C SDA, HID BRIDGE I2C SCL, GND, +3.3V signals).

I used the USSSWLib and Water Demo Application from this link.

I flashed the "MSP430FR6043EVM_USS_Water_Demo_LPM_02_40_00_00.txt" image to the board.

As shown in the picture below, the program generates a correct excitation signal, with a proper 1MHz frequency.

In meter options, I selected:

Board: Custom-PCB,

Device: MSP430FR6043,

Application Mode: Water.

When I connect the GUI using the "connect" command, I get the following message indicating that everything is okay, as shown in the picture below.

Unfortunately, I'm getting constantly in GUI an error no.24 "HSPLL detected that the PLL has unlocked".

How should I resolve this problem?

Please note, that the USS crystal is working properly since I've got correct excitation pulses.

  • Hi Maciej,

    Can you got the ADC waveform normally?

    Thanks!

    Best Regards

    Johnson

  • Hi Johnson,

    Unfortunately, I cannot get the ADC waveform. Please find below screenshots of the main configuration screen, as well as the errors tab.

    Please also find, the logs data gathered using Options -> Logging -> Automatically Log Data

    5415.logs.zip

    Please note, that the custom board is working properly since I've got the correct excitation pulses.

    Best Regards

  • Hi Johnson,

    I did more tests.

    I found that if I change the number of pulses in GUI, and update the configuration of the program by pressing the "Request update" button, I see the proper number of pulses on the Oscilloscope.

    Moreover, when I change "UPS and DNS Gap (us)", the time between bursts, also changes.

    Unfortunately, when I set this "UPS and DNS Gap (us)" value to 500. I get a 1.19ms gap on the oscilloscope.

    I was digging further, and I've found that I use 16MHz HF crystal instead of 8MHz used in the reference design "EVM430-FR6043".

    How can I apply this minor change to the "UltrasonicWaterFR604x_02_40_00_00" program?

    Apparently, I don't know if it's related to my main error "HSPLL detected that the PLL has unlocked, HSPLL".

    Best Regards

    Maciej

  • Hi Maciej,

    You use 16MHz Crystal for USSXT?

    You can found the below information, we just support 4MHz ~ 8MHz frequency for USSXT.

    Thanks!

    Best Regards

    Johnson

  • Hi Johnson

    Johnson He said:
    You use 16MHz Crystal for USSXT?

    No, we use 8MHz USSXT.

    We use the 16MHz HFXT.


    How can we modify USSWaterDemo to work with a 16MHz HFXT crystal?

    When we use USSWaterDemo unchanged, we experience the program behavior as Maciej described.

    Regards

    Adam

  • Hi Adam,

    Let us discuss in this thread:

    https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/966546

    Thanks!

    Best Regards

    Johnson

**Attention** This is a public forum