Search found 7 matches

by Magic
Tue Mar 24, 2009 9:22 am
Forum: General Remark and Questions
Topic: send more data within one time step
Replies: 1
Views: 1655

send more data within one time step

Hello Lubin, I want to send 3 data(6 bytes) within one time step(0.0005s) and set Baud rate = 115200(kb/s). And the max is 5.75 Bytes/Step was read on UART Configuration block. Obviously, the UART can't not send 3 data within one time step. Thus,from your example , I use the Tx_Output block(not the ...
by Magic
Tue Mar 17, 2009 3:33 am
Forum: General Remark and Questions
Topic: about Tx-Matlab
Replies: 3
Views: 2910

Re: about Tx-Matlab

Hello Lubin,

Thank you for this explanation. I understand now!

Thus,after computer received the data,the time interval would be about the sampling time(0.002s).
received data.JPG
Thanks again.

Magic
by Magic
Mon Mar 16, 2009 9:31 am
Forum: General Remark and Questions
Topic: about Tx-Matlab
Replies: 3
Views: 2910

about Tx-Matlab

Hello Lubin,

I have a question about Tx-Matlab

My baud rate is 115200 and max 23 Bytes/0.002s

I send 3 Datas every 0.002s.
But I found the time interval is about 0.01s or 0.02s(sometime 0.03s) in t_R & t_Rn in workspace.
time1.JPG
Is the UART wrong? or some configuration I do not set?

Magic
by Magic
Fri Feb 13, 2009 3:48 am
Forum: General Remark and Questions
Topic: Problem about QEI and DisPIC33fj256mc710
Replies: 4
Views: 4020

Re: Problem about QEI and DisPIC33fj256mc710

Hi, Thank you very much for these advisee. It is work after I changed two places as following. But I exactly didn't know why it is work... 1. I read the peripheral library module of QEI of the C30 compiler and replaced the POSCNT register with the ReadQEI() function in the GetQEI function of the QEI...
by Magic
Wed Feb 11, 2009 4:36 pm
Forum: General Remark and Questions
Topic: Problem about QEI and DisPIC33fj256mc710
Replies: 4
Views: 4020

Problem about QEI and DisPIC33fj256mc710

Hello Lubin, I downloaded Ender's model on forum for testing the QEI on Explorer 16. Compiling were succesful and I confirmed the Phase A & B of encoder is correct.(My PIC is same as Ender's : DisPIC33fj256mc710 and also without Index of QEI) But I read nothing(zero) from rs232 when I run it zero.JP...
by Magic
Fri Jan 16, 2009 3:34 am
Forum: General Remark and Questions
Topic: The QEItest example error
Replies: 2
Views: 2383

Re: The QEItest example error

Hello Lubin,

Thank you for your answer. I will send you e-mail.

Best Regards.
Magic
by Magic
Thu Jan 15, 2009 2:36 pm
Forum: General Remark and Questions
Topic: The QEItest example error
Replies: 2
Views: 2383

The QEItest example error

hello Lubin I download the example ( http://www.kerhuel.eu/forum/viewtopic.php?f=1&t=100&start=0&st=0&sk=t&sd=a#p266 ) you post and compiled it on MATLAB 2008b ,but had an error. I didn't understand the meaning of the error? Could you help me? Thank you very much. The error message on error dialog: ...