Hello,
I want my board to not detect any negative touch. Also I want to calibrate it exactly the same every time and only ONE time at the beginning. Is this possible in CCS?
Kind Regards
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,
I want my board to not detect any negative touch. Also I want to calibrate it exactly the same every time and only ONE time at the beginning. Is this possible in CCS?
Kind Regards
1. For the negative touch, I think you can change the threshold to realize this function.
2. What do you mean with "exactly the same every time and only ONE time at the beginning"? I would advise you to disable the run time calibration, because you can't avoid noise and environment change influence.
I am working with different capacitive material and i am switching these to dokument different capacity behave. Unfortunately the GUI detects the negativetouchthreshold anyway if you change your sensing pattern.
I think you don't want the auto calibration, you can comment this part code in CAPT_updateUI(tCaptivateApplication *pApp)
I already did this but unfortunately it only works if no Negative Touch is detected. I guess the problem in the function updateGUI() but the programm is not working without this command. I also did increment the function .bSensorNegativeTouch = false, in the UserConfig.c but it does not really affect something.
Yes like I said before I already commented this code. My intension is to not detect negative threshold. The first picture is after I remove the capacitive material where the capacity is detected. And the second on is after I reconnect the material. So basicly it recalibrates itself in the end because it is not reaching their standard mode which comes with the first run of the project.
Please check the setting at here, if the data of Ratio is not changed, that means the recalibration is not happen.
As you remove the overlay, the conversion time will get above the limitation and cause some problem on the software.
It does not change. But the Sensor like I said before does calibrate itself because like you see in the pictures it detects touch with no one near.
Yes. I want the Sensor to calibrate one time at the beginning. Everytime with the same parameters. Also the system should not depend on the enviroment. So if I touch the sensor pad and flash the board it should detect an TouchThreshold. Right now the board would take this hand on board state as an default state and not detect any touch. Do you understand the problem?
Sorry, that is the reason why we have run time calibration. If you want this work without calibration, I would suggest:
1. Save different parameters
2. Change the thread
You can see, it is same like calibration.
If you can describe you problem more clearly (Like what do you want to realize, what is your problem, why you can't accept it), I can give you more help.
I have a handle with integrated capacitive material which is connected to the dev board. Now I want if I have the handle in my hands and flash the board to detect touch. Because of the calibration the sensor do not detect a touch because it thinks the "handle in hand" state is the default state. Now I want, doesnt matter if the handle is in my hand or not while flashing the sensor to detect afterwards the hand. I hoppe it is clear now.
I think you can disable the calibration now. Why "Because of the calibration the sensor do not detect a touch because it thinks the "handle in hand" state is the default state."? Why it will recalibration?
Can you show me the machinal structure?
Thats the sensorpad. If I flash now it will look like this. so there is no detect because the finger is not moving. I want to detect touch even if I flash the board while touching it.
1. What is the meaning of "flash"?
2. I think you can record the calibration data when no finger touches, when the device is first powered on. Then you can detect the finger touch.
Yes but I want to power it while I touch it thats the point.
With flash I mean debug the code from CCS.
Maybe you can think of record the calibration data when no finger touches, when the device is first powered on. Then you can detect the finger touch. You can refer to this code.
I looked at the code but couldnt find the part in which you record the code. Could you send me a screenshot of this part?
Please see void my_calibration(void)
it read out the these calibration data for every sensor and save it into FRAM.
**Attention** This is a public forum