Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


STR912 PWM start/stop in FREERTOS

Posted 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 FREERTOS

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


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists