Skip to main content
seth
Associate II
February 23, 2015
Question

CubeMX pin configuration issue with STM32L152QEHx UFBGA132

  • February 23, 2015
  • 2 replies
  • 907 views
Posted on February 23, 2015 at 22:49

In attempting to validate a schematic design in progress I used CubeMX to verify that none of the I/O assignments and peripheral functions being called out in the schematic were going to conflict.  I noticed that at least 3 ADC channels that appear to be valid according to the data sheet, but through CubeMX they are not selectable.

PA2/ADC2 

PA7/ADC7

PC2/ADC12

Overall CubeMX is a great product, looking forward to this being fixed.

#stm32l152 #cubemx #adc
This topic has been closed for replies.

2 replies

stm32cube-t
ST Employee
March 5, 2015
Posted on March 05, 2015 at 16:17

Hello,

Actually STM32CubeMX complies with STM32L1 reference manual that states that COMP1 and ADC can not be used as the same time. Please see Chap 14.4 Fig 64 and comments for details.

seth
sethAuthor
Associate II
March 9, 2015
Posted on March 09, 2015 at 15:39

But I'm not using COMP1.  In fact with no other functions yet selected I could not select the ADCs mentioned in the initial post.  I have since upgraded to the newest version of CubeMX and the ADCs are now selectable.