Page 1 of 1

STM32F3 Temperature Sensor without ADC Dual Mode

Posted: Mon Feb 01, 2016 4:29 pm
by neums
Hello,
i use the STM32F3xx. Since HAL 4.0 the temperature sensor is only available if ADC DUAL Mode is activated otherwise the CCR register is not implemented in the conversion group structure. Is it really not possible to activate the internal temperature sensor if you do not use ADC DUAL Mode? I think it is.

Thanks

Re: STM32F3 Temperature Sensor without ADC Dual Mode

Posted: Mon Feb 01, 2016 4:45 pm
by Giovanni
There are a new functions for that:

Code: Select all

  void adcSTM32EnableVREF(ADCDriver *adcp);
  void adcSTM32DisableVREF(ADCDriver *adcp);
  void adcSTM32EnableTS(ADCDriver *adcp);
  void adcSTM32DisableTS(ADCDriver *adcp);
  void adcSTM32EnableVBAT(ADCDriver *adcp);
  void adcSTM32DisableVBAT(ADCDriver *adcp);


Giovanni