Hello Renesas Community,
I’m encountering an issue after integrating CTSU into an existing RA6M1 project. Here's a detailed description of the setup and the problem:
MCU: RA6M1
Existing Project: Already includes 3 timers, running correctly.
New Requirement: We need to implement Capacitive Touch (CTSU) functionality into this project.
When we test CTSU alone in a separate project, it works fine.
However, after integrating CTSU into our existing timer-based project and calling the relevant CTSU function in hal_entry(), the tuning process completes, but “Show Views” displays the following message:
hal_entry()
"A variable used in this view was not found. Please refer to the help for this view."
No data is shown in the view.
We suspect the issue might be due to a conflict between CTSU and the existing timers, or possibly incorrect initialization or timing mismatch when CTSU functions are called from hal_entry().
Why does this error occur only after adding CTSU to the existing project?
Is there a known conflict or dependency between CTSU and timers on the RA6M1?
Is calling CTSU initialization from hal_entry() causing the issue? If yes, what is the recommended way to initialize CTSU?
What are the recommended steps to ensure both the timers and CTSU work together without conflict?
Is there a correct order or timing requirement for calling CTSU functions to avoid this issue?
e² studio version: 2025-01 (25.1.0)
FSP version: 5.2.0
Hello,
At which step on the following guide do you see this error message ?
www.renesas.com/.../using-qe-and-fsp-develop-capacitive-touch-applications
The issue appeared at Step 14 — when I pressed the 'Enable' tab in the monitor, an unexpected message popped up, and surprisingly, the threshold wave was completely missing.
Can you provide this project for review ?
I'm unable to disclose the full details of my project, but it involves five timer stacks, flash memory, I2C communication, low voltage detection, and capacitive touch. Based on this setup, can you provide the solution for the issue which I mentioned above? I can able to give the screen short of particular portion which you want to know. I hope you reply this message soon.
I am not able to replicate this issue on my end. Have you tried to use the latest e2studio/FSP project or isolate only the CTSU application (without timers etc) ?
which version of e2studio/FSP project you prefer especially this kind of application?
the latest e2studio 2025-04.1 and FSP 5.9