Hey guys,
I'm trying to send a constant value through serial connection using a instrument control toolbox library from simulink as you can see in the files attached. The problem is when I get back this signal through the receive serial block, it is different from the signal I sent. I actually don't know whether I'm doing some wrong settings in the dspic blocksets. But when I set up the blocking function of the uartRx block, the signal comes properly as it would be. But if unset it, the signal comes totally different. And even though if I still keep the blocking function of the block when I do any operation with this signal, for example multiplying it by 2, the signal comes through serial receive totally wrong.
If someone has ever dealt with this, I would appreciate any help.
uartrx and uarttx configuration blocks
uartrx and uarttx configuration blocks
- Attachments
-
- serial_test_hoy.mdl
- (32.34 KiB) Downloaded 2357 times
-
- sim_conv.mdl
- (25.87 KiB) Downloaded 2322 times
Who is online
Users browsing this forum: No registered users and 4 guests