jamesr
Newbie level 6
- Joined
- Dec 4, 2013
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 136
Hi,
I have a requirement (well assignment) to sample some data from a 12 bit ADC into a 10 bit word, then do some filtering, then pass this back to a 12 bit DAC.
Quantising the 10 bit word form the ADC from what I can read is just a simple as shifting the bits and losing the LSB's. (Correct me if I'm wrong here).
The filter part is to be done using 12 bit arithmetic, which I'm assuming is to ensure the correct bits enter the DAC. The filter is a 2 point moving averager. So I was wondering are there any considerations I should be thinking about, ie. saturation of the values form the filter, or should I be bit shifting the result before passing to the DAC?
I suspect I've not put enough detail in the question to get a detailed answer, so feel free to point out other inputs.
Thanks
James
I have a requirement (well assignment) to sample some data from a 12 bit ADC into a 10 bit word, then do some filtering, then pass this back to a 12 bit DAC.
Quantising the 10 bit word form the ADC from what I can read is just a simple as shifting the bits and losing the LSB's. (Correct me if I'm wrong here).
The filter part is to be done using 12 bit arithmetic, which I'm assuming is to ensure the correct bits enter the DAC. The filter is a 2 point moving averager. So I was wondering are there any considerations I should be thinking about, ie. saturation of the values form the filter, or should I be bit shifting the result before passing to the DAC?
I suspect I've not put enough detail in the question to get a detailed answer, so feel free to point out other inputs.
Thanks
James