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


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 ]    [ 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