Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 11 months ago.
UART remove pull up
Hi,
What configuration are the UART pins put in, are they in pull up mode? I have a device connected hat has a 1K series resistor, when I look at the UART on a scope trace the voltage levels only go from 1.6 to 3.3v.
Would it be possible to alter it to pull to ground? If so how.
Many Thanks,
1 Answer
5 years, 11 months ago.
Hi Joe,
Please refer to this file
mbed-os\targets\TARGET_Freescale\TARGET_KLXX\TARGET_KL25Z\serial_api.c
In serial_init(), rx/tx pins are set in PullUp mode, you can set them to PullNone for your device setup.
Thanks,
- Desmond, team Mbed
You can't 'PullDown' on the KL25z:
https://os.mbed.com/questions/873/KL25Z-PullDown-not-working/
Only PullUp or PullNone, so you will need an external resistor on that pin if you want to PullDown. Perhaps PullNone will be sufficient to work in this case.
posted by 28 Dec 2018
Hi Joe,
What target do you use?
posted by Desmond Chen 26 Dec 2018https://os.mbed.com/platforms/KL25Z/
posted by joe holdsworth 26 Dec 2018