Issue in sending ADC value over BLE(BlueNRG-LP)
I am having STEVAL-IDB011V1 board. I am developing the battery profile for that i have refer the ADC_Battery_sensor and BLE_sensorDemo example but the code is stuck in below loop. Please let me know what is the issue in firmware. Is the issue is in ADC initialization. Please find the attached firmware link.
/**
* @brief Disable the inversion of the ADC data output bits (1's complement)
* when a differential input is connected to the ADC
* @rmtoll CONF BIT_INVERT_DIFF LL_ADC_InvertOutputBitDiffModeDisable
* @param ADCx ADC instance
* @retval None
*/
__STATIC_INLINE void LL_ADC_InvertOutputBitDiffModeDisable(ADC_TypeDef *ADCx)
{
CLEAR_BIT(ADCx->CONF, ADC_CONF_BIT_INVERT_DIFF);
}
@Sebastien DENOUAL @Salvo @Salvatore DI SALVO @BlueNRG-LP Hands-On: Expanding Bluetooth @Sebastien DENOUAL
https://drive.google.com/file/d/1Ijkz83Vn9KHylf9Kwu9mUnPLL7aWp-jZ/view?usp=sharing
