How to plot data received
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm working with dspic30f6013A and untill now I'm put some strings via uart1 and I can it throught hyperterminal.
Now, I want to plot a vector into Matlab. But, first, I try to see a simple string, but I don't know how I can do it.
I saw a training Matlab which explains how to configurate a UART from dspic30 through simulink tool. So, I try to do it, and I put the following boxes:
- dsPIC30fxx Main
- UART Config
- Config ("Double-click to Configure for dsPIC_stf.tlc") -------> I don't understant what it represents.
- UART Receive
How I can see the strings sent from dspic? If I open the hyperterminal window, always I receive a string.. So, I'd like to see it in Matlab.
In order to recieve some strings to hyperterminal, I use the following command in MPLAB code:
sprintf(uText, "\r\n Bon dia!! \r\n");
putsUART1((unsigned int*)uText);
By other hand, if I want to scope a vector (in fact, is a sine acquired from ADC pin) how I can do it?
Thanks a lot!

0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Financial Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!