cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX pin configuration issue with STM32L152QEHx UFBGA132

seth
Associate II
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
2 REPLIES 2
stm32cube-t
Senior III
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
Associate II
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.