hey everyone
I'm doing some motor control using GIPC. In order to save some FPGA resources, I'm doing some signal manipulation on RT.
The date generated on fpga (theta) is pass to RT using a FIFO, as shown in figure

And the pwm switches signal va, vb, vc are sending back to fpga using write/read (I was not able to send it back using host to target FIFO)

The fpga transfer rate and the time loop in rt is set the same 10000hz
This way it gives me the acceptable results, but I’m still curious if there is some better way to do this
Regards
Jia