Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/Questions/Q 4469
Next
In Process
Julian White
  • 0
Julian White
Asked: May 25, 20232023-05-25T12:07:41+05:30 2023-05-25T12:07:41+05:30In: Microcontroller

How to Set Trigger ADC from GPT?

  • 0

Hi,

I’m using RF7A6M2AF MCU. I’m working at the register level and don’t use Renesas libraries. I’m trying to set up the MCU so I could spark ADC sampling from GPT.

I do have a GPT formerly working in the circle. I did set ADTRAUEN to 1 in the GTINTAD register and GTADTRA to 2, so the ADC trigger event starts early on during the GPT up-count. To confirm that the ELC_EVENT_GPT1_AD_TRIG_A event actually happens I’ve configured an interrupt for it and it does get triggered.

The thing I must be missing is the configuration at the ADC level for the trigger. A single checkup from the software trigger is working rightly and I can see ELC_EVENT_ADC1_SCAN_END related interrupt being triggered but if I configure ADCSR register TRGE and EXTRG fields to enable synchronous trigger I can not get ADC to work. I was looking into the ADSTRGR register to set a trigger for the ADC, but I don’t see an option for the GPT.

What am I missing?

Kind regards.

Julian White

adcadtrauengptmcumicrocontrollersrenesasrf7a6m2af
  • 1 1 Answer
  • 1 Follower
  • 0
Answer
Share
  • Facebook

    Related Questions

    • How to accompanied Three PWM waveforms to RA4M1?
    • How to test voice with TW001- VUIA6E1POCZ?
    • How to find the SRAM Backup in STM32H563?
    • How RA4M2 MCU Boot stops at Verify boot image?
    • How to use Pin Group B in TMP117 sensor EK-RA6M5?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. nidhi singh
      2023-05-26T10:30:27+05:30Added an answer on May 26, 2023 at 10:30 am

      Hello, Thanks for reaching out to Volt Tech Engineering Community. Do you have set the ELSRn to register? For example, ELSR8 register (for ADC unit 0)? You require to set this register with the right value from Table 19.3 according to your preferred GPT channel and event. Thank & Regards

      Hello,

      Thanks for reaching out to Volt Tech Engineering Community.

      Do you have set the ELSRn to register? For example, ELSR8 register (for ADC unit 0)?

      You require to set this register with the right value from Table 19.3 according to your preferred GPT channel and event.

      Thank & Regards

      See less
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Facebook
    Continue with Google
    or use

    What is the capital of Egypt? ( Cairo )

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Facebook
    Continue with Google

    Sidebar

    Ask A Question

    Related Questions

    • ellasmith

      How to Reset MCU while opening serial port in ESP32?

      • 1 Answer
    • vikas Nagpal

      How to accompanied Three PWM waveforms to RA4M1?

      • 1 Answer
    • ellasmith

      How RA4M2 MCU Boot stops at Verify boot image?

      • 1 Answer
    • Alex thomas

      How to connect AWS IoT Core to EPS Module?

      • 1 Answer
    • sachinsharma

      How to combining mcuboot and application in EK-RA4M3?

      • 1 Answer

    Stats

    • Questions 448
    • Answers 436
    • Comments 0
    • Best Answers 9
    • Popular
    • Answers
    • Manoj

      Configuration using .dp vision in Infineon XDPL series IC .

      • 5 Answers
    • Linto

      Renesas RL78/G14 ADC interface code

      • 4 Answers
    • sachinsharma
      sachinsharma added an answer Hi @Farmanali, Infineon has a pervasive and wide range of… September 25, 2023 at 10:16 am
    • Alex thomas
      Alex thomas added an answer Hello, Right, existing LED drivers all have PWM engines. It… September 19, 2023 at 11:10 am
    • Julian White
      Julian White added an answer Hello, You should set handshake after setting property RtsEnable =… September 14, 2023 at 10:59 am
    • Julian White
      Julian White added an answer Hello @Vikas, Thanks for posting your question online. Yes, one… September 12, 2023 at 10:33 am
    • Alex thomas
      Alex thomas added an answer Hi @sachinsharma, XDPL8221 has a PWM dimming interface which is… September 4, 2023 at 11:01 am

    Users

    urvashimorar

    urvashimorar

    • 0 Questions
    • 0 Answers
    test7457901

    test7457901

    • 0 Questions
    • 0 Answers
    test43764860

    test43764860

    • 0 Questions
    • 0 Answers

    Explore

    • Tags
    • Category
      • Amplifiers
      • Passives & Protection
      • Clocks & Timing
      • Diodes & Rectifiers
      • FPGAs & PLDs
      • Interface ICs & Transceivers
      • LEDs & Optoelectronics
      • Memories
      • MEMS & Sensors
      • Microcontroller
      • Power Management
      • RF & Microwave
      • Security & Smart Card
      • Motor Drivers
      • Wireless Connectivity
    • Groups
    • Add group
    • Badges
    • Help

    Footer

    volt.tech

    Volt.Tech

    Find your spark

    About Us

    • About Us
    • Contact Us
    • Groups

    Legal Stuff

    • Privacy Policy
    • Faqs

    Follow

    © 2022 volt.tech. All Rights Reserved
    With Love by volt.tech.

    Go to mobile version

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.