This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADC2 calibration bug in Halcogen

Other Parts Discussed in Thread: HALCOGEN

Dear All,

I'm using HALCoGen 3.6.0 with TMS570LS1227 MCU.

In ADC.C file created by Halcogen, there are two bugs in the following functions:

  • adcCalibration
  • adcMidPointCalibration

If the input parameter of these functions is adcREG2, these functions don't work correcly, because into these functions, the following line, in both functions, is wrong:

/** - Enable 12-BIT ADC  */

adcREG1->OPMODECR |= 0x80000000U;

It should be:

adc->OPMODECR |= 0x80000000U;

Will They be fixed in the next Halcogen release?

 

Thanks and best regards.