Skip to content
Snippets Groups Projects

[WIP] fix pad 2 captouch

Open tux coder requested to merge tuxcoder/flow3-rs:tuxcoder_fix_captouch into main

this patch fixes the pad 2 on the touch-input, as this is different routed all 13 pins are needed.

Merge request reports

Members who can merge are allowed to add commits.
Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Maintainer

    Hi tuxcoder, thanks for this PR! Have you verified this works as intended? According to the datasheet, the AD7147 only has 12 Stages in its Sequencer, so we shound not be able to sample all 13 inputs in the same sequence. Ideally, we would have two sequences to switch between for the bottom captouch chip, but I did not get around to that yet. Unfortunately I can't test this myself right now, I will try to get around to it in the evening, but in the meantime maybe you could already check if you are getting the intended results by printing the raw values of all sampled pads, especially the 13th pad you added in this PR.

  • Hi zdmx, ah yes I didn't look into the datasheet, simply did naive code changes until it looked right with the schematics.

    Main reason was to get my dome lights running so I only tested button pressed. probably I will take a closer look after camp

  • tux coder changed title from fix pad 2 captouch to [WIP] fix pad 2 captouch

    changed title from fix pad 2 captouch to [WIP] fix pad 2 captouch

  • 13-sequence captouch is a thing in the main firmware now :D

Please register or sign in to reply
Loading