cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hi,

I am wondering if I could configure a DMAMultiChannel using 3 producers (one EP consumer). Two producers from the PIB, and the third one would be the ARM.

I got BAD_ARGUMENT error when I tried.

Br

0 Likes
Reply
1 Solution
Anonymous
Not applicable

Hi,

You can configure a multi channel with three or more producers and consumers. (when the validSckCount field is set to the number of producers)

But one of the producers cannot be the ARM producer (CY_U3P_CPU_SOCKET_PROD). It can be anything else (PIBs, UIBs etc.,)

When CY_U3P_CPU_SOCKET_PROD is the producer, the DMA channels are special channels called manual out channels. Manual out channels cannot exist in a multi channel environment.

So, you have to create a separate single channel DMA with arm producer and EP consumer.

Regards,

- Madhu Sudhan

View solution in original post

1 Reply
Anonymous
Not applicable

Hi,

You can configure a multi channel with three or more producers and consumers. (when the validSckCount field is set to the number of producers)

But one of the producers cannot be the ARM producer (CY_U3P_CPU_SOCKET_PROD). It can be anything else (PIBs, UIBs etc.,)

When CY_U3P_CPU_SOCKET_PROD is the producer, the DMA channels are special channels called manual out channels. Manual out channels cannot exist in a multi channel environment.

So, you have to create a separate single channel DMA with arm producer and EP consumer.

Regards,

- Madhu Sudhan

View solution in original post