Jake 24 Posted December 27, 2015 Share Posted December 27, 2015 I have another project where I have 4 analog signals that I need to convert to 4 digital signals. The update period on the hardware is about 1ms. I was thinking about using the 12bit A-D, since there is a A and B timer I thought I would be able to run two continuous signal sets through it. I would have to run two chips to get the job done. I am not crunched for space so if I have to run individual ones it is not the end of the world. This is for the torque meters from my analog servo drives to the LinuxCNC interface for my CNC mill control retrofit. Thanks guys! Quote Link to post Share on other sites
L.R.A 78 Posted December 27, 2015 Share Posted December 27, 2015 The MSP430G2553 does not have a 12 bit ADC, it's just 10bit.If you check this pinout you can see how many ADC channels the MSP430G2553 has and it appears to have 8.http://energia.nu/img/LaunchPadMSP430G2553-V1.5.jpgOf course that-s 8 channels but just 1 ADC - you can only sample 1 at a time. Meaning 4 signals take 4x longer than just 1 - you would need a sample speed of 1 every 0.25ms to get the 4 signals every 1ms. That's 4KspsThe max sample rate is about 200Ksps, at least it seems so. So your required sample rate should be easily attainable I don't quite get what you are referring with the timers. tripwire and Jake 2 Quote Link to post Share on other sites
Jake 24 Posted December 28, 2015 Author Share Posted December 28, 2015 Thanks! I will see if I can get the code written this week and get going on it. On the timers I thought the one timer would be dedicated to that process. Quote Link to post Share on other sites
L.R.A 78 Posted December 28, 2015 Share Posted December 28, 2015 I don't use MSP430 much, so don't quote me on this. But I believe the timer is not necessary for sampling - though it could be useful for time critical periodic sampling Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.