- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi team,
i want usb uart to send binary data, i tried CyU3PDebugPrint lile CyU3PDebugPrint(4, mybinarybuff);
but all the data after 0 byte will be remove. can somebody help me ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I rewrite the CyU3PDebugPrint funtion ,remove the MyDebugSNPrint function, solve the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The function CyU3PDebugPrint() accepts a zero-terminated string as the 2nd argument. So, a zero character cannot be sent with this function.
There is a function CyU3PUartTransmitBytes() to send a data block in any length.
Please refer the "API Reference Guide" document form more details.
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if i use CDC virtual uart the configuration is same ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I rewrite the CyU3PDebugPrint funtion ,remove the MyDebugSNPrint function, solve the problem.