FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [February 2013 Threads] STR912 PWM start/stop in FREERTOSPosted by ajinkya on February 4, 2013 Hello friends, I am using STR912 comstick with IAR embedded workbench which generates .out file which I am flashing using openocd+telnet as IAR flash using GDB is not working properly.
I am using "Ethernet demo" provided on freeRTOS site to generate PWM signal on GPIO for IR signal of a remote.
I am able to start and generate variable width PWM as I wanted. But I want it to stop after around 30 pulses are over, but I am not able to stop it, It keeps repeating that 30 pulse sequence.
I mean If I clear CR1 register (which is used for initial settings of timer and PWM) then it enters in abort mode or undefined instruction mode or it will just not start.
I have tried various possible things to make it work. But it is just not working as expected.
If any body worked on this or similar like this please guide me.
RE: STR912 PWM start/stop in FREERTOSPosted by Richard on February 4, 2013 Is this a FreeRTOS problem? If so, please show the structure of the task that is controlling the PWM.
If this is an STR9 problem, or an STR9 peripheral problem, then I'm afraid this is not the place to ask the question.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|