This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hallo,
I am working on a project for a embedded system course, but I am stuck and need help.
I have the following hardware:
- EK-TM4C1294XL
- click BOOSTER PACK
- STEPPER click
- STEP MOTOR
I am woking with the following software:
- CCSv8
- TI-RTOS
My Goal is to drive the stepper Motor.
MikroElektronika provides a very good example on github https://github.com/MikroElektronika/STEPPER_click .
But their code is written for MikroC compiler. I am looking for a similar example, which I can run in CSS with TI-RTOS.
If there is none, could you please provide me with instructions how I could achieve my goal. Thanks in advance.
Hello Saifur,
I am not sure how big the RTOS requirement is for you, but if you do not have to use an RTOS, then we have a TI design that should give you all the information you need which is this one: https://www.ti.com/tool/TIDM-TM4C123STEPPERMOTOR
On the Tools page look under "More literature" for the Software zip file: Driving a Stepper Motor With TM4C MCU Firmware (Rev. A)
If you need the RTOS element, please wait until Monday for me to investigate what RTOS offering we might have related to that.
Hello Ralph,
Thank you very much for your reply. Your response was quick.
My project has to be build with TI-RTOS.
I will wait until Monday, thanks for helping out.
Best Regards,
Saifur Rahman
Hello Saifur,
I looked up what we have on TI-RTOS as well as the details for the TI design implementation. Use TI Resource Explorer to get the following example projects loaded so you can begin tinkering with them.
1) Driver Example for GPIO, GPIO Interrupt
2) The Kernal Example for timers, Clock Example
With these you should be able to use GPIO to control your stepper motor similar to the TI Design and the MikroElectronika code.
That is the extent of the offering we have for TI-RTOS so you will need to handle the bulk of the implementation for your particular application.
Hello Ralplh,
Thank you for the hints. I will try to get the stepper motor running. Let see if I can manage it.
Best Regards,
Saifur Rahman