Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 (touch): Touch stuck at initialization #1112

Open
YannLocatelli opened this issue Nov 8, 2022 · 3 comments
Open

🐛 (touch): Touch stuck at initialization #1112

YannLocatelli opened this issue Nov 8, 2022 · 3 comments
Labels
01 - type: bug Report a bug or issue

Comments

@YannLocatelli
Copy link
Member

YannLocatelli commented Nov 8, 2022

Running spike lk_sensors_touch from

show 2 bugs:

  1. If sensor is NOT touched at initialization, sensor stay at "Touch" value until it's really touched.
  2. If sensor is touched at initialization, sensor might simply ceases to work (sometimes, not always)

Notes.

  • Even with a very low sensibility, bug 1 remains.
  • Actually It happens about 1 second to 2 seconds after initialization
  • Reset the sensor described in datasheet (using MTPM pin) does not work

Related issues/PR

@YannLocatelli YannLocatelli added the 01 - type: task Something to do label Nov 8, 2022
@YannLocatelli YannLocatelli added this to the Future Release milestone Nov 8, 2022
@YannLocatelli
Copy link
Member Author

Other bugs of the day:

  • "Touched" stuck without being touched for a limited duration sometimes
    • → Might come from to too high sensibility.
  • Best value for calibration found to be lowest sensibility

@YannLocatelli YannLocatelli added 01 - type: bug Report a bug or issue and removed 01 - type: task Something to do labels Nov 21, 2022
@YannLocatelli
Copy link
Member Author

Update.

  1. Reset MTCH101 by using MTPM pin as mentioned in datasheet does not work. Worse, it stuck the touch value to 1.
  2. Once touched, the pin dedicated to sensitivity MTSA is always at the highest (~3.1V) even set to low by MCU via QDAC. High value on pin MTSA means low sensitivity.
  3. Before touched, the pin dedicated to sensitivity MTSA oscillate between 0.0V and 3.1V in any case (see video).
Screen.Recording.2023-02-22.at.4.54.26.PM.mov

@YannLocatelli
Copy link
Member Author

YannLocatelli commented Feb 23, 2023

Caution - Behavior might be different on different boards.

Note.

  • Channel 5 - Output QDAC
  • Channel 6 - Input MTSA (Touch)
  • Channel 7 - Output MTO (Touch)
Screen.Recording.2023-02-23.at.5.53.34.PM_720p.mov
Screen.Recording.2023-02-23.at.6.07.04.PM_720p.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - type: bug Report a bug or issue
Projects
None yet
Development

No branches or pull requests

1 participant