{"id":12699,"date":"2021-10-28T19:02:41","date_gmt":"2021-10-28T19:02:41","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=12699"},"modified":"2021-10-28T19:02:41","modified_gmt":"2021-10-28T19:02:41","slug":"stm32cube-adc","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=12699","title":{"rendered":"STM32Cube ADC"},"content":{"rendered":"<p><a href=\"https:\/\/community.st.com\/s\/question\/0D53W00000ViBSw\/i-believe-there-is-a-bug-in-haladcconfigchannel-using-the-stm32g071-with-adcscanseqfixed-adceocsingleconv-and-nbrofconversion-1-when-haladcconfigchannel-is-called-it-ors-in-the-new-channel-number-which-is-incorrect\">I believe there is a bug in HAL_ADC_ConfigChannel(). Using the STM32g071, with ADC_SCAN_SEQ_FIXED, ADC_EOC_SINGLE_CONV, and NbrOfConversion == 1, when HAL_ADC_ConfigChannel() is called, it OR&#8217;s in the new channel number, which is incorrect.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I believe there is a bug in HAL_ADC_ConfigChannel(). Using the STM32g071, with ADC_SCAN_SEQ_FIXED, ADC_EOC_SINGLE_CONV, and NbrOfConversion == 1, when HAL_ADC_ConfigChannel() is called, it OR&#8217;s in the new channel number, which is incorrect.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12699","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12699"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12699\/revisions"}],"predecessor-version":[{"id":12700,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12699\/revisions\/12700"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}