GPIF in Serial Mode Multiple threads

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

cross mob
dimac_335226
Level 1
Level 1
5 replies posted Welcome! First question asked

HI there,

I would like to know if it is possible at all to utilise all 4 threads when using the GPIF interface in serial mode. At the moment I use thread 0 and thread 1 for in and out. Is it possible to use threads 2 and 3 while threads 0 and 1 are busy to spead up the system?

Cheers,

Dima

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

You can use threads 3 and 4.

You need to use corresponding PIB Sockets with your DMA Channels.

Regards,

- Madhu Sudhan

View solution in original post

3 Replies
Anonymous
Not applicable

Hi,

You can use threads 3 and 4.

You need to use corresponding PIB Sockets with your DMA Channels.

Regards,

- Madhu Sudhan

Hello Madhu,

Just a quick catch up that I understand the concept and could find relevant examples.

I need to define 4 PIB sockets, CY_U3P_PIB_SOCKET_0, 1, 2, 3 and then push / get data from these to my respective USB consumer / producer. Something like in the many-to-one, one-to-many DMA examples, right? In this respect GPIF in serial mode has nothing special, do I understand this correctly?

Cheers,

Dima

0 Likes
Anonymous
Not applicable

Yes, correct!

Regards,

- Madhu Sudhan

0 Likes