Solved
This topic has been closed for replies.
Posted on January 22, 2018 at 16:50
The difference was the VREF+ pin. VREF+ and VDDA are not double bonded on the 100LQFP package and since VREF+ was not connected externally in the design it was not being powered. Adding the below code fixed the issue:
/**Configure the VREFBUF */
HAL_SYSCFG_VREFBUF_VoltageScalingConfig(SYSCFG_VREFBUF_VOLTAGE_SCALE0); HAL_SYSCFG_VREFBUF_HighImpedanceConfig(SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE); if (HAL_SYSCFG_EnableVREFBUF() != HAL_OK) { _Error_Handler(__FILE__, __LINE__); }Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
