FORUM TOPIC · READ ONLY
Possible Bug in ADC in 33FJ256MC710
Possible Bug in ADC in 33FJ256MC710
Forum : bug reports
2 message(s) · archive en lecture seule
Hello Lubin,
I am trying to use the 12-bit ADC block in the 33FJ256MC710, I drop the block and select channels 0-7 and I get the following error when I compile:
Could you please advise what am I doing wrong?
Thanks
Mariano
I am trying to use the 12-bit ADC block in the 33FJ256MC710, I drop the block and select channels 0-7 and I get the following error when I compile:
<i>
</i>SPIMasterNoDMA.c:167: error: 'ADC1BUF1' undeclared (first use in this function)
SPIMasterNoDMA.c:167: error: (Each undeclared identifier is reported only once
SPIMasterNoDMA.c:167: error: for each function it appears in.)
SPIMasterNoDMA.c:168: error: 'ADC1BUF2' undeclared (first use in this function)
SPIMasterNoDMA.c:169: error: 'ADC1BUF3' undeclared (first use in this function)
SPIMasterNoDMA.c:170: error: 'ADC1BUF4' undeclared (first use in this function)
SPIMasterNoDMA.c:171: error: 'ADC1BUF5' undeclared (first use in this function)
SPIMasterNoDMA.c:172: error: 'ADC1BUF6' undeclared (first use in this function)
SPIMasterNoDMA.c:173: error: 'ADC1BUF7' undeclared (first use in this function)
Could you please advise what am I doing wrong?
Thanks
Mariano
Re: Possible Bug in ADC in 33FJ256MC710
Hi Mariano,
This is a bug ! Thanks for reporting.
A quick glance at the doc of the 33F256MC710 : I find only one buffer register for the ADC of this PIC. It seems that DMA data transfert must be used if you are doing more than one ADC conversion.
I have idea to workaround that problem.
I guess that I am getting into DMA to make it works !
I try to look at it next week.
Lubin
This is a bug ! Thanks for reporting.
A quick glance at the doc of the 33F256MC710 : I find only one buffer register for the ADC of this PIC. It seems that DMA data transfert must be used if you are doing more than one ADC conversion.
I have idea to workaround that problem.
I guess that I am getting into DMA to make it works !
I try to look at it next week.
Lubin