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
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!
-----------------------------------------------------------------------------------------------------------------------