2022-01-18 12:19 AM
I have two independent oscillations one in PB4 and the other on PB2.
I start the first oscillation on PB4 and comp returns the oscillation picks correct.
After without stop the COMP1 i change the input plus pin from PB4 to PB2. Using MODIFY_REG(COMP1->CSR, COMP_CSR_INPSEL, COMP_INPUT_PLUS_IO2 );
Start the oscillation on PB2 and the comparator never read the oscillation.
What i have already try:
Is there any hidden locking mechanism? The value of the comparator lock register bit[31] is 0 always in my application.
Solved! Go to Solution.
2022-01-18 10:33 PM
Hello @Community member , thanks for your response.
You where right the PB2 pin looked soldered but after a second reflow is now ok!!!
:smiling_face_with_smiling_eyes:
2022-01-18 04:20 AM
Is the signal actully present on the pin, when you observe it directly on the pin using oscilloscope? (Read: isn't there a bad solder joint? Isn't there some jumper/part which disconnets the signal's source from given pin?)
Are both pins set to Analog in GPIO?
JW
2022-01-18 10:33 PM
Hello @Community member , thanks for your response.
You where right the PB2 pin looked soldered but after a second reflow is now ok!!!
:smiling_face_with_smiling_eyes: