Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: Gpt Timer as output port

$
0
0
Hello Wasim, You need to be more specific in what you mean by "speed" (do you want a higher frequency or shorter wait period between pulses). 90% of the functionality you require is implemented on the hardware level. You need to configure the timer to work in PWM mode. Then, you can use periodSet and dutyCycleSet to configure your frequency and ON-time at runtime. Also, you need to make sure that the timer channel you're using connects to the desired pin (I'm assuming you're using either P4_0 or P7_2 since these are the pin choices for GTIOC6A). Regards

Viewing all articles
Browse latest Browse all 23645


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>