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.

MSP430FR2522: I have a question about the operation when CapTIvate noise is input.

Expert 2780 points
Part Number: MSP430FR2522

Hello,

The customer is testing by applying noise.

If the switch is held down, the Counter value may become zero.
What is the reason for this?
(If it is in the manual, please tell me where it is written.)

Regards,
Da

  • Hi da,

    Would you please describe the phenomenon more clearly? What kind of noise is applied to what part of the board? A photo or video may helpful.

    Thanks,

    Ling

  • thank you for your answer. 


    I hear that the test is EMC test (RF conduction immunity test, JIS C61000-4-6).
    Do you need a wiring diagram?

    Regards,
    Da

  • Hi Da,

    -4-6 is conducted noise test on power supply.

    one thing customer can try is enable noise immunity feature in the software.

    Ling

  • Hi Ling

    It already uses the checked ones, but there are times when the count becomes 0 when pressed.

    What are the reasons why this count is 0?

    Current customer settings.
    (There are also times when rebouns_in is set to 0)
    ・ Conversion Count: 2000
    ・ Modulation Enable: Enabled
    ・ Touch Threshold: 8
    ・ Noise Immunity: Enabled
    ・ Rebounce_in: 1
    ・ Rebounce_out: 0

    Regards,
    Da

  • Hi Da,

    Would you please ask customer to log data during the test, that will very helpful for further analysis.

    And conversion count 2000 is too high.

    Please use the latest CapTIvate Design Center

    Ling

  • Hi Ling,

    When the Conversion Count is reduced, there is no longer a reset phenomenon.

    Currently, Conversion Count is 1000 and Touch Threshold is 5.
    With this setting, when Noise Immunity is enabled, the switch is turned off.
    It does not occur when Noise Immunity is disallowed with the same setting.

    What can I do to avoid this?

    Attach log data that turns off touch.
    Since the log is obtained directly from the UART port,
    there is no Touch Threshold in the log.(Touch Threshold is 5)

    log.csv

    Regards,
    Da

  • Hi Da,

    What does " the switch is turned off" mean?

    And from the data, it shows mutual mode touch, is it ?

    Can you ask customer share the schematic and pcb layout?

    Regards,

    Ling

  • Hi Ling,

    "turned off"

    This is a test in which the touch switch is pressed while noise is being input.

    The switch should remain on because it is still pressed.

    If Noise Immunity is not enabled, the switch does not change when ON.
    If Noise Immunity is enabled and the same thing is done, the state of the switch sometimes turns off.
    (Refer to the log, there are places where 1 is 0)

    Why is this happening?

    "mode"

    The self-capacitance method is used.
    7 buttons are set.

    "schematic & PCB"

    Ask the customer.

    Regards,
    Da

  • Hi Da,

    Do you mean if button is been touched then the switch is on other wise the switch is off.  no matter if the noise is present or not?

    Ling

  • Hi Ling,

    Perform a test with noise.


    Set "Noise Immunity" in GUI to Disable.

    Touch the button to turn on the switch.

    If the touched state continues, the switch will remain ON.

    Set "Noise Immunity" of GUI to Enable.

    Touch the button to turn on the switch.

    Sometimes the switch turns off regardless of the continued touch.

    (refer log.csv)

    This is why it turns off.

    Regards,
    Da

  • Hi Da,

    1.  So "

    Set "Noise Immunity" in GUI to Disable.

    Touch the button to turn on the switch.

    If the touched state continues, the switch will remain ON.

    " Is this the test pass case? Does customer expect switch reamin ON when user touch the button?

    2. If customer want to enable Noise Immunity feature, he has to change source code setting and re-compile and re-download the code.

    Ling

  • Hi Ling,

    The customer wants the switch to be on if the switch is pressed.

    Writing a binary with "Noise Immunity" enabled will break it.
    The customer wants to know how to keep it from breaking down.
    (Or the reason for breakage or setting of broken GUI)

    Regards,
    Da

  • Da,,

    I am still not very clear about customer's issue, would you please provide a video to describe the phenomenon?

    Ling

  • Hi Ling,

    There is a log attached to the phenomenon, but is this insufficient?

    The problem in question occurs when the customer is pressing a button in the test.
    The red spot in the attached log is the problem location.
    The button is kept pressed, but there is a place where 1 is 0.

    Setting

    Conversion Count = 1000
    Touch Threshold = 5


    Modified and attach the log file.

    log.zip

    Regards,
    Da

  • Hi Da, 

    The log file you show here is not a user defined log file. I need original CDC log file.

    I recommend to set conversion count to 600. 

    Ling

  • Hi Ling,

    The customer has created an evaluation board and does not access it via the GUI.

    The file attached earlier was processed with Excel to highlight the error.
    The numbers are the log information output by the CapTIvate firmware
    and recorded with general-purpose terminal software.
    This is why the Design Center log and format are different.

    Attach a raw file.
    (Date information may have been added in the terminal software, but the numerical value itself is raw data.)

    191119_S014_68pF 82pF_Count500 TH3.zip

    Regards,
    Da

  • Hi Da,

    What does 68pF 82pF mean in the log file name?

    I am requesting a friendship with you, let's talk offline by email.

    Ling

**Attention** This is a public forum