cancel
Showing results for 
Search instead for 
Did you mean: 

Output of STM32F100RB DiscoveryVL board when connected to 3v3 converter only shows from 2.58 to 3.19 volts on the input and alway 5v on the output of converter.

Dan in WY
Associate III

I have a Value Line Discovery board - STM32F100RB and three of the outputs are connected to a 3v3 converter to get a 5v output. I have tried another controller board with 3v3 outputs to drive the convertor board and I get a clean signal. (Either 0 or 5v). I am using STM32CubeMX to generate the code and compiling it on True Studio. I have tried setting the configuration of the pin to: GPIO_NOPULL, GPIO_PULLUP and GPIO_PULLDOWN.

I have posted the code up on github at htpps://github.com/sunbelt56/DiscoveryVL.git

1 REPLY 1
Dan in WY
Associate III

Never mind, I found the problem. I had copied what CubeMX had generated to a separate function and was configuring it wrong. I knew I had to be doing something stupid.