Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


stepper motor + TI stellaris

Posted by henrique canova on August 22, 2012

I'm trying to make one multi-axis stepper motor controller using an TI Stellaris microcontroller, this controller will be capable to receive command via TCP/IP (uIP) , and control the STEP/DIR motors driver (3 axis for the begin but I want to control 6 if possible), I'm thinking many ways to control this motors at same time, and finally my system maybe will be an very small kind of RTOS, but if possible I want to use the FreeRTOS to create tasks to control the communication,parser, and the motors drivers, my doubt is: Can I use the RTOS to create pulse to my drive around some Khz (maybe 50khz )? and change between tasks quick to sync the motors and create the multi axis moviment?


RE: stepper motor + TI stellaris

Posted by MEdwards on August 22, 2012
No. Anything requiring 50khz needs to be kept in interrupts. No RTOS will be able to switch tasks like that and leave space for actually application execution. You can do your communications in the RTOS and use interrupts with priorities higher than configMAX_SYSCALL_INTERRUPT_PRIORITY to do the really fast stuff.

RE: stepper motor + TI stellaris

Posted by henrique canova on August 22, 2012
Thank's Edwards

I'will try this way, using interruption higher than configMAX_SYSCALL_INTERRUPT_PRIORITY to make the motor moves and RTOS to manipulate the comunication.

Thanks again

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

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


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

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

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner