An accelerometer is interfaced to a RX63N microcontroller as on the figure 1.1. PEZ PE3 PEG Yaxis Accelerometer RX63N Fi
Posted: Mon May 09, 2022 7:33 am
An accelerometer is interfaced to a RX63N microcontroller as on the figure 1.1. PEZ PE3 PEG Yaxis Accelerometer RX63N Figure Q1.1: RX63N interface to accelerometer 1. Which ADC and channels is the accelerometer interfaced to? (6 marks) On the RX63N, the ADC can be setup in single channel mode, continuous scan, and single scan mode 2. We want a sampling rate of 500 Hz on the 3 channels for an indefinite amount of time. Which mode would be the most appropriate and why? (5 marks) 3. List the different ADC registers that need to be configured (7 marks) 4. Configure the ADC registers listed in Q1.3 so it has the following functionalities: • 500Hz sampling rate . Mode identified in Q1.2 Interrupt enabled Triggered by software Data is flush right • ADC operating clock should be 6MHz (10 marks) 5. Calculate the resolution of a 10-bit ADC operating between 0 and 5V. Show your calculation (5 marks)