Part Number:MSP432P401R
Tool/software: TI-RTOS
AS I am implementing digital FIR filter on MSP432P401R i.e. MSP432-DAC.I am working with Timer_A and in up mode of timer. I have couple of questions regarding sampling and conversion.
As, I am using power sample mode for sampling with the above mentioned command. I have set on TA_CC0 register TA_CC1 register values 32678 and 8192 respectively and I am using timer_A ouput mode:7 (reset/set).
I have following questions:
1) I want to start sampling with the rising edge of timer timm TA_CC1 value and after sampling should be stopped because TA_CC1 value will return to zero and then coonversion process should be started.
Please guide me regarding my question. As, I am new in MCU and I have studies all thhe given paper along side MSP432 too for understaning but It is not enough for me.
I am using following command for sampling and conversion;
/* Configuring the sample trigger to be sourced from Timer_A0 and setting it
* to automatic iteration after it is triggered*/
MAP_ADC14_setSampleHoldTrigger(ADC_TRIGGER_SOURCE1, false);
/* Configuring the sample/hold time for ADCCLK clock cycles */
MAP_ADC14_setSampleHoldTime(ADC_PULSE_WIDTH_4,ADC_PULSE_WIDTH_4);
* enabling conversions */
MAP_ADC14_enableInterrupt(ADC_INT0);
MAP_ADC14_enableConversion();
MAP_ADC14_toggleConversionTrigger();
At the end,I am little bit confused after reading ADC orecision portion from user manual. is above mentioned code enough for conversion or i need to apply the given four conversion modes in section 22.2.8 ??
Many thanks for your kind help