stm32-freqmeter icon indicating copy to clipboard operation
stm32-freqmeter copied to clipboard

Wrong description

Open hetii opened this issue 7 years ago • 1 comments

Hello :) I want to ask about pin PA1, what is the purpose to set it low? Also in main() we can read that "Setup PB9 to pull up the D+ high." and then this bit is clear, so by what this pull-up is made?

hetii avatar Aug 08 '17 20:08 hetii

PB9 is connected to an inverter consisting of 2 transistors on Maple Mini. This is an odd design which is unnecessary in most cases. Pulling PA1 down is not mandatory. In fact, it may not have much effect at all. Just hoping grounding the pin adjacent to the input would reduce noise a little bit.

dword1511 avatar Aug 09 '17 02:08 dword1511