I wonder how to specify a specific thread in FX3 firmware by using 'BeginDataXfer()' in order to send/receive data.
I've prepared three threads in FX3 GPIF-II, thread 0 for USB-to-FX3, thread 1 for USB-to-FX3, and thread 2 for FX3-to-USB.
So that I need to set one of thread 0 or thread 1 to send data to FX3.
The CyAPI manual seems a bit primitive so it is hard to figure out how to do.
Are there any example code for FX3 firmware and CyAPI Application to do the above transfer?
Or, are there any document regarding this?
Thanks in advance.
You can associate one EndPoint with each thread that you have created in FW. Now your CyAPI Application will communicate with these endpoints only. So finally you have 3 EP ( 2 OUT EP & 1 IN- EP) associated with each specific thread.