cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Honored Contributor

Hi,

We are considering the USB component of PSoC5LP.

The USB component has two CDC and MSC combined functions.

Is there no problem with such usage?

PSoC5LP, which we implemented two CDC and MSC, is working as expected.

However, when operating for a long time,

The data of the endpoint not specified at the time of reading the data of the endpoint will be loaded.

The endpoint settings are as follows.

CDC1: EP2, EP3

CDC2: EP5, EP6

MSC: DP7, EP8

Data of an endpoint different from the endpoint specified by the argument of USBFS_ReadOutEp will be read.

When I inquired with USBFS_ReadOutEp to EP3 operating as Rx of USBUART,

You may receive EP8 packets that function as Rx for USB mass storage and EP7 packets that become Tx.

Have you ever experienced any of the above cases?

Regards,

0 Likes
Reply
3 Replies
Moderator
Moderator

Hello MaMi_1205306

The seems to be really strange. Could you please attach the project?

Without the project it would be difficult to tell what might be causing the issue.

Best Regards

Ekta

0 Likes
Reply
Honored Contributor

Ekta-san,

Thank you for your reply.

It is difficult to send because the project includes the product outline.

We have found that no problematic behavior can be seen during normal operation and during continuous operation for a long time.

Problems will occur if commands are sent from the terminal software(Tera Term) to the PSoC5LP device continuously without waiting.

The USBUART component is likely to be overloaded.

Since the processing speed of the device equipped with PSoC 5LP is slow,

After sending the command, the command cannot be processed,

The flow control is activated between the USBUART component and the personal computer.

If this state continues for a long time (15 to 20 hours), it seems to be abnormal.

We can't send this a project,

Based on the above, I have the following two questions.

(1)

Is there a possibility that changing the "Endpoint Buffer Management" setting of the USBUART component will solve the problem?

(2)

Is there any problem with the USB UART component configuration (CDC x2 and MSC) this time?

Regards,

0 Likes
Reply
Moderator
Moderator

Hello MaMi_1205306

Regarding 1) It would be difficult to tell if changing the "Endpoint buffer management" would be of any help without having a look at the project.

We don't think this would be able to solve the problem. Which Endpoint Buffer management are you currently using?

If possible please provide a simplified version of the project.

2) Can you please let me know if you have developed the code for the MSC? For PSoC 5LP we do not have an official code example that shows the use of MSC in PSoC 5LP.

Best Regards

Ekta

0 Likes
Reply