- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
I am trying to develop MODBUS SLAVE on CY8CKIT-042 board. I have written simple program initially to transmit whatever received. Code works when I type on Hyper terminal nicely. But when I send MODBUS frame through Modbus testing software (I tried two diff. s/w), software gets hang.
When I shorts two pins (RX- P0_4, Tx- P0_5) on PSoC 5LP I/O Header (J8) , board transmits whatever I types on Hyperterinal. But Modbus testing softwares gets hang.. Testing software works fine on PC UART ports.
What could be the problem ?
Thanx in advance
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ravi,
Please attach your project so that we can have a look into it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Embedd Holmes, Thanx for reply.
I have connected PC USB port to USB Connector (J10) onj board. And trying to do serial communication through this KitProg USB-UART port.
Plz find the attached project which works well. Program reply the same char for every received character.
However when I send stream of bytes through MODBUS testing software like Modscan32, ModbusTester, etc., these testing software gets hang. Same testing softwares work fine when connected on other COM port on PC.
One thing I observed recently is if I short P12_7 & P12_6(bypassing pSoc4) , same problem persist.
That means, there may be some pbm from PSoC 5LP Programmer & Debugger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Embedd Holmes,,
My guess was correct, problem is in PSoC 5LP circuit.
I took out Tx(P0_5) & Rx(P0_4) from pSoC4 CPU and connected externally to MAX232 IC and connected to Computer.
My program is now working as expected.