Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals

Anonymous
Not applicable

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.

Ando.

0 Likes
1 Solution
abhinavg_21
Moderator
Moderator 50 likes received 25 likes received 10 likes received
Moderator

Hi Ando,

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.

Thanks

Abhinav

View solution in original post

0 Likes
1 Reply
abhinavg_21
Moderator
Moderator 50 likes received 25 likes received 10 likes received
Moderator

Hi Ando,

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.

Thanks

Abhinav

0 Likes