A UART link runs at 38400 baud. Find the duration Tb of one bit, in µs.
Data acquisition & sampling worksheet with answers
A data logger samples 8 channels, each at 44.1 kHz with 16-bit resolution. Find the raw data rate Rb in kbit/s.
A 10-bit ADC with an input range of 0 to 10 V truncates: its output code is ⌊Vin/LSB⌋ with 1 LSB = VFSR/2ᴺ. Find the decimal output code D for an input of 7.546 V.
A 16 kHz sine wave is sampled at 10 kHz without an anti-aliasing filter. At which frequency fa does it appear in the samples? Give it in kHz.
A microcontroller with a 12 MHz clock sets its UART baud rate as fclk/(16·D), with D a whole number rounded to the nearest value. The target is 57600 baud. Find the percentage error of the real baud rate (positive when it is too fast).
A 12-bit ADC streams every sample over a UART at 115200 baud, format 8E1 (start bit, 8 data bits, even parity, 1 stop bit). Each sample is sent as 2 whole byte(s) and the link is busy all the time. Find the highest signal frequency fmax that can be sampled without aliasing, in Hz.
Answer key
- 1. Tb = 26.04 µs
- 2. Rb = 5645 kbit/s
- 3. D = 772
- 4. fa = 4 kHz
- 5. e = 0.1603 %
- 6. fmax = 2618 Hz
Full step-by-step solutions: practise this topic on examproblems.com.