Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Serial data plotting

$
0
0
[quote user="PRASANTH S"]I already have mentioned about the Sampling Rate of ADC12_A of MSP430F5438A in my previous post.[/quote] So what? You started new thread. As you did not mention your previous post while starting this one, it is clearly your problem that you had to tell ADC configuration again. I probably did not see it and you can't blame me for that. [quote user="PRASANTH S"]3) I have attached the sample data receiving format on python from UART of MSP430.[/quote] Well, please. - Because it is hard to see any picture in data array you provided. [quote user="PRASANTH S"]What is the maximum Input signal frequency range that I can reproduce on python by using MSP430F5438A ??[/quote] While sampling 5KHz sine signal at 15KHz sample rate, you have 3 points per sine period. Try to draw sine on paper just using three dots - any success? I cannot tell anything about python (it's your problem), but ADC of MSP430F5438 is capable of 200 Ksps. Without sinc interpolation/filtering of sampled data, you can start to see sine pattern when there's around 10 or more samples per period, so at 200Ksps with your approach of direct sample plotting max sine frequency would be 20KHz. At 15KHz sample rate accordingly 1.5KHz. [quote user="PRASANTH S"]Now you can tell me where I have to add delimeter[/quote] Thank you, I am glad to receive your permission. Comma delimiter marked red: sprintf(str,"%03d , ",ADC_result); [quote user="PRASANTH S"]and why??[/quote] I already told you. It's so sad that many like you do not even bother to read whole answer carefully . It strongly demotivates to continue helping.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>