David_
Advanced Member level 2
- Joined
- Dec 6, 2013
- Messages
- 573
- Helped
- 8
- Reputation
- 16
- Reaction score
- 8
- Trophy points
- 1,308
- Location
- Sweden
- Activity points
- 12,242
Hello.
I have a project in mind to build a simple but also as a capable DAQ as reasonable to interface to PC through microcontroller-USB connection, I intend to use SAM3X8E(32bit flash µC, used in Arduino Due) as a master controlling and communicating with ADC/ADCs and DAC/DACs or instead of a DAC maybe a DDS chip.
Anyway, I want to aim at 16bit for the ADC but I wonder which sample rate to go for.
I do have some basic knowledge about these things but not enough to know what choices I do have or what the implications will be and I have some questions that I could need some help with. Although there are no single topic that this fits since it touches on a couple and its no small query.
Here is a quick illustration:
The communications between the µC and the data converters/DDS will be serial or SPI hopefully with a 4MHz speed, but how to handle the
PC - µC part...
USB protocol and drivers are far to high above my head to implement my own drivers but I can use USB - RS-232 and manage the RS-232 communication, but I wonder if its possible to somehow enable the data converters to ether talk to the µC or send directly to the PC?
As if the µC would set up the ADC for whatever it should do and then switch the communication path over to the PC or do the data have to go from the ADC to the µC and then to the PC?
Once on the PC Matlab will be receiving.
Then its the question with sample rate, I figure that the limit really is how fast the data can be passed to the PC or handled by the µC?
If I would have a 16bit DAC(hypothetical), what is the pros vs cons between using the µC and possibly a external memory to synthesize waveforms through the DAC and having a DDS chip?
I guess the bandwidth of the output for one would probably be greater with a DDS.
Then I wonder what kind of external circuits would be needed after the data converters/DDS, the ADC I can figure out but I know very little about DAC/DDS needs in that regard.
Then I thinking of how to enable uni- and bi-polar measurement options, some sort of switchable analog front end(to use the full resolution always)
There are many thoughts and I know there are no real structure jet but its a beginning, but I will get to more signal processing later.
Any and all thoughts are much appreciated.
With reagards
I have a project in mind to build a simple but also as a capable DAQ as reasonable to interface to PC through microcontroller-USB connection, I intend to use SAM3X8E(32bit flash µC, used in Arduino Due) as a master controlling and communicating with ADC/ADCs and DAC/DACs or instead of a DAC maybe a DDS chip.
Anyway, I want to aim at 16bit for the ADC but I wonder which sample rate to go for.
I do have some basic knowledge about these things but not enough to know what choices I do have or what the implications will be and I have some questions that I could need some help with. Although there are no single topic that this fits since it touches on a couple and its no small query.
Here is a quick illustration:
The communications between the µC and the data converters/DDS will be serial or SPI hopefully with a 4MHz speed, but how to handle the
PC - µC part...
USB protocol and drivers are far to high above my head to implement my own drivers but I can use USB - RS-232 and manage the RS-232 communication, but I wonder if its possible to somehow enable the data converters to ether talk to the µC or send directly to the PC?
As if the µC would set up the ADC for whatever it should do and then switch the communication path over to the PC or do the data have to go from the ADC to the µC and then to the PC?
Once on the PC Matlab will be receiving.
Then its the question with sample rate, I figure that the limit really is how fast the data can be passed to the PC or handled by the µC?
If I would have a 16bit DAC(hypothetical), what is the pros vs cons between using the µC and possibly a external memory to synthesize waveforms through the DAC and having a DDS chip?
I guess the bandwidth of the output for one would probably be greater with a DDS.
Then I wonder what kind of external circuits would be needed after the data converters/DDS, the ADC I can figure out but I know very little about DAC/DDS needs in that regard.
Then I thinking of how to enable uni- and bi-polar measurement options, some sort of switchable analog front end(to use the full resolution always)
There are many thoughts and I know there are no real structure jet but its a beginning, but I will get to more signal processing later.
Any and all thoughts are much appreciated.
With reagards