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] [August 2012 Threads] stepper motor + TI stellarisPosted by henrique canova on August 22, 2012 Dear,
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?
thanks
RE: stepper motor + TI stellarisPosted 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 stellarisPosted 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
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|