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

USB superspeed peripherals Forum Discussions

ThM_3776866
Level 4
Level 4
First like received First like given Welcome!

Hai all,

I am working on Cypress fx3 project. In my code I integrated 2 interface I2C and GPIF slave FIFO. Both interface code are in single thread. But I have make 2 separate thread for each interface. one for I2C communication and one for GPIF.

Q1. How to create 2 thread? how to call USB events? when 2 thread is created.

Q2. is any example is there for 2 thread?

Please do the needful.

Thank You.

With Best Regards,

Thrimurthi.M

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 100 likes received

Hello Thrimurthi,

The UVC example from the AN75779 uses two threads, one for control requests and one for video streaming. Please use this project as a reference.

Best regards,

Srinath S

View solution in original post

0 Likes
1 Reply
SrinathS_16
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 100 likes received

Hello Thrimurthi,

The UVC example from the AN75779 uses two threads, one for control requests and one for video streaming. Please use this project as a reference.

Best regards,

Srinath S

0 Likes