Is safe lpc11u24 WriteEP simultaniously?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is safe lpc11u24 WriteEP simultaniously?

953件の閲覧回数
darius_b
Contributor I

Hi,

I

I read UM10462 but not found answer.

case1

Is safe lpc11u24 WriteEP simultaniously into different endpoint ?

{

uint8_t tmpTxBuf[64];

pUsbApi->hw->WriteEP(pUsbHandle, 84, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 83, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 82, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 81, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 80, tmpTxBuf, 64);

}

case2

Is safe lpc11u24 WriteEP simultaniously?

I think it not safe, because buffer can bee corrupted. Is it true?

Is occur error interrupt?

{

pUsbApi->hw->WriteEP(pUsbHandle, 82, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 82, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 82, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 82, tmpTxBuf, 64);

pUsbApi->hw->WriteEP(pUsbHandle, 82, tmpTxBuf, 64);

}

Maybe exist detailed  information (application notes) about using USB hardware block?

BR.

Darius Babrauskas

ラベル(2)
0 件の賞賛
返信
1 返信

890件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Darius Babrauskas

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
In my opinion, neither of these two ways are properly. You can learn how to call the USB ROM API appropriately by referring to USB ROM demo.
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信