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
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.
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 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 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)
Regards,
Da
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 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
Hi Ling,
Setting
Modified and attach the log file.
Regards,
Da
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
**Attention** This is a public forum