Tool/software: TI C/C++ Compiler
Hi, im using TI F28069M microcontroller with a Motor wich have an absolute encoder. I send the encoder data to a FPGA, that divides it andsend the frames through the SCI port to the microcontroller, so i can take the data in CCS from that port. The problema is that i dont know how to make the motor move whenever i want, for example after Reading the SCI port. I'm using lab 6.b of InstaSpin- MOtion like a reference, but it uses switch cases to control the motor. Can anyone explain me or send me an example of code written in the Main function to move the motor without using switch cases in mainISR? Thank you!!