Title: "Show Views" Error After Adding CTSU to Existing Project with Timers on RA6M1

 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:


Project Context:

  • MCU: RA6M1

  • Existing Project: Already includes 3 timers, running correctly.

  • New Requirement: We need to implement Capacitive Touch (CTSU) functionality into this project.


Issue Observed:

  • 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:

"A variable used in this view was not found. Please refer to the help for this view."

  • No data is shown in the view.


Suspected Cause:

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().


Questions:

  1. Why does this error occur only after adding CTSU to the existing project?

  2. Is there a known conflict or dependency between CTSU and timers on the RA6M1?

  3. Is calling CTSU initialization from hal_entry() causing the issue? If yes, what is the recommended way to initialize CTSU?

  4. What are the recommended steps to ensure both the timers and CTSU work together without conflict?

  5. Is there a correct order or timing requirement for calling CTSU functions to avoid this issue?


Additional Details:

  • e² studio version: 2025-01 (25.1.0)

  • FSP version: 5.2.0

  • Device:   R7FA6M1AD3CFM
    Core:   CM4
    Toolchain:   GCC ARM Embedded
    Toolchain Version:   10.3.1.20210824

Parents Reply Children