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

USB superspeed peripherals Forum Discussions

gean_3054931
Level 5
Level 5
10 likes given 5 likes given First like received

HI,

I am using fx3s slavefifo example and gpifstorage example.

I am storing  gpif p port data into the sd card (p port is producer and s port is consumer)and also recieving in the usb(p port is producer and u port is consumer),can i use same p port producer socket for both s and u port consumer sockets??

thank you...

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

I understand that you want to send the same data from the P port to both USB and SD sockets. This is called a multicast channel.

To implement a multicast channel, please refer this example project

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\dma_examples\cyfxbulklpmulticast

Regards,

-Madhu

View solution in original post

3 Replies
Anonymous
Not applicable

Hi,

I understand that you want to send the same data from the P port to both USB and SD sockets. This is called a multicast channel.

To implement a multicast channel, please refer this example project

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\dma_examples\cyfxbulklpmulticast

Regards,

-Madhu

Hi madhu,

thank you so much for your reply.

I understand that you want to send the same data from the P port to both USB and SD sockets. This is called a multicast channel.

-->exactly right,but i want to read sd card data in the pc also from control center.

means...

1)p port->u port

2)p port->s0 port->u port

once at a time,

is it possible??

0 Likes

Hi,

can i use multi thread for above ?

1)one thread for p to u

2)one therad for p to s and s to u

which method is best?

1)multicastchannel

or

2)multithread

let me know,

thank you

0 Likes