uartrx and uarttx configuration blocks

Post Reply
dan
Posts: 6
Joined: Sun Oct 20, 2013 1:10 am

uartrx and uarttx configuration blocks

Post by dan » Tue Nov 05, 2013 2:06 pm

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.
Attachments
serial_test_hoy.mdl
(32.34 KiB) Downloaded 566 times
sim_conv.mdl
(25.87 KiB) Downloaded 581 times

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests