The following signal is sampled by an ADC triggered by timer TIM6. The timer clock frequency is 80 MHz. The value of TIM6_PSC register is 79. The value of TIM6_ARR register is 99. Determine the sampling frequency fs. Is this sampling frequency is sufficient to avoid aliasing? Show your work

x(t) = 1.5 + 0.3sin(700t) + 0.7cos(100t)

Sampling frequency fs = (80 MHz / (79 + 99)) = 400 kHz

This sampling frequency is sufficient to avoid aliasing. The Nyquist frequency is half of the sampling frequency, which is 200 kHz. The highest frequency component of the signal is 700 Hz, which is much lower than the Nyquist frequency. Therefore, aliasing will not occur.