matlab recieve wrong data at 19200 bit rate ,not all data,some samples are incorrect,i want to know solution microcontroller type: atmel 8951 plz i need fast reply because my project may be failed
Your project may be failed, but your question is definitely failed. Why do Matlab receive wrong data? Are you sure that you are sending with 19200 baud? Are you sure that the data you send really is the data you expect to send?
Exactly how have you verified if the problem is on the 8951 side or on the Matlab side?
problem from matlab ,because i receive the same data via hyper terminal .my data is sawtooth signal from microcontroller to computer ,so i'm sure that problem from matlab
So, if the PC is able to receive correct data, when using another program - isn't this a question for a Matlab forum?
yes, he is right and gives the answer.
hi i need some code with opto isolator to isolate a square signal which is between 5 and -5 with freq of 250khz . if you can give me an opto isolator which works in 250khz or any code using optp isolator , i would be so thanks full .
printf is too slow for 250 KHz since it has rise time max 10 microseconds and fall time up to 122 microseconds. T that gives you just 50 khz???. i could use h11x. switching time for this family is 32 microseconds which gives you range up to 333 khz.
omid
Are you for real? What has an opto-isolator in common with Matlab? And what has this to do with Keil?
hyper terminal isn't a program u can utilize data ,i need matlab espicially,u can try yourself what i say
I don't need Matlab. However, if this is a Matlab problem, then a Matlab forum may be able to help you.
If it hadn't worked in any PC program, then it would have been reasonable to think the problem was on the C51 side.