Hello to all, I wanted to send the current RPM and speed of the motor in MCSPTE1AK144 kit via UART to console for my application.
From the code provide of 2 resistor sense PMSM FOC based software, I am writing value to "drvFOC.pospeControl.wRotElReq" structure for rotation of motor. Here wRotElReq is the required speed variable, so we can change it to get specific rpm.
I would like to know the calculated/ estimated speed and RPM of the motor so i can transmit it via UART and have a feedback value about the rotation. I kindly request to help me with some variable or structure which i dont know in this code that can directly give such estimated RPM and speed.
Thanks and Regards,
RajG.