2019-07-26 06:56 PM
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
2019-07-26 08:08 PM
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.