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/TC37xboard

volt.tech Latest Questions

vsharma
  • 0
vsharma
Asked: July 30, 2022In: Wireless Connectivity

GTM_TIM_Capture_1 example with different input pin

  • 0

I went through the example and verify the signal and varying different frequencies and it works perfectly fine for my eval TC37x board I then tried to change the input pin to #define PWM_IN IfxGtm_TIM1_1_P02_1_IN with the expectation if I changed the ...Read more

I went through the example and verify the signal and varying different frequencies and it works perfectly fine for my eval TC37x board

I then tried to change the input pin to #define PWM_IN IfxGtm_TIM1_1_P02_1_IN with the expectation if I changed the CMU_CLKEN_CLK1, I will get the same result

IfxGtm_Cmu_enableClocks(&MODULE_GTM, IFXGTM_CMU_CLKEN_CLK1); /* Enable the CMU clock 1 */

But my g_measuredPwmFreq_Hz = +Inf

and g_measuredPwmDutyCycle = NaN

The data sheet calls out the CMU_CLK0, CMU_CLK1, CMU_CLK6, CMU_CLK7 are used for the TIM filters counters.

What did I do wrong or assume changing the input pin to TIM1 and enable the CLK1 will not work in this case?

Read less
CLK1input pinTC37xboardTIM1
  1. pallavi sharma
    Added an answer on August 1, 2022 at 2:44 pm

    In the example, inside the function IfxGtm_Tim_In_initConfig(), the configuration is for TIM0 CH0 config->timIndex = IfxGtm_Tim_0;config->channelIndex = IfxGtm_Tim_Ch_0; IfxGtm_TIM1_1_P02_1_IN corresponds to TIM1 CH1.

    In the example, inside the function IfxGtm_Tim_In_initConfig(), the configuration is for TIM0 CH0

    config->timIndex = IfxGtm_Tim_0;
    config->channelIndex = IfxGtm_Tim_Ch_0;

    IfxGtm_TIM1_1_P02_1_IN corresponds to TIM1 CH1.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer

Sidebar

Ask A Question

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

test7457901

test7457901

  • 0 Questions
  • 0 Answers
test43764860

test43764860

  • 0 Questions
  • 0 Answers
test15139391

test15139391

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