Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I have a problem with the UART on the PSoC 5 and the CY8CKIT-001 development kit. What I am doing, is sending (Modbus) data via a serial to USB cable from the PC to the device. When using Realterm to send the data packet to the device, everything works fine, every time. However, if I send the data packet from a C# app using the .net SerialPort class, some bytes get scrambled at the device side. This does not happen every time, but actually most of the time. I used the same C# app on a PIC Modbus devce that I built, and it works fine every single time.
I actually resorted to go to Java, using the RXTX library to send the Modbus packet to the device. However, the same happens from the Java app.
How can this be, that the data gets to the device correctly when I am using Realterm, but when I am using any other custom app, some bytes get scrambled?
That does seem odd. I'll talk to one of our application engineers, but I think we might need to move this case over to our technical support tool. That will allow us to have a one-on-one dialog and potentially share project files back and forth.
Hi, Yes. Can you please create a Tech Support case on this issue as we may require to debug your code. You can create a case by Design Support -> Tech Support -> Create a Case -> Create a Case -> Select "Technical Support" -> Enter the details of your issue, attach your project and click CreateMyCase. Regards, Kishore.