Other Parts Discussed in Thread: CONTROLSUITE
Hi,
Good day. I hope you are doing well.
Our customer is using the TMS320F28335 and they have this question:
""I am programming in CCS v9, I want to oversample ADC value. I tried to reset the sequencer with RST_SEQ1 in ADCRTL2. But I check in debugging, the ADCTRL2 did not change anymore.
AdcRegs.ADCTRL2.bit.RST_SEQ1 = 1; After this instruction, the ADCRTL2 has to be 0x4xxx, right? But it is still 0x0xxx
I have checked with example ADC_SOC in ControlSuite, and run debug and check the ADCTRL2, after reset sequencer instruction the ADCRTL2 is not changed
I would like to take oversampling ADC values in F28335. In particular, I use ADCINA0 for analog input: CONV00 is 0x0, CONV01 is 0x0, too. The 2 trigger events are made from PWM module when CNTR=0. The first SOC is in the first zero of Counter, the second SOC is the second zero of Counter PWM. When the second SOC is done I should reset the sequence with RST_SEQ1=1 to go back to CONV00. But when debugging, the ADCRTL2 does not change after the RST_SEQ1=1. That means the instruction RST_SEQ1=1 is not working. And that is why the next SOC will be is CONV02 (ADCRESULT2) changes,...""
I hope you could help us with this inquiry. Looking forward to your inputs. Thank you.
Regards,
Cedrick