Hi,
Is there any way to use I2C KL03Z peripheral with the internal GPIOs pull-up for the SDA & SCL lines? If so, how can I do this?
I've forgot to put the external ones in my custom board... :~(
Thanks in advance,
gaston
Solved! Go to Solution.
Hi Gaston Schelotto,
Please also note, PTB3 and PTB4 is the true open drain pins, if you are using these two pins, you must add the external pull up resistor.
Even with the internal pull up, in the practical project, it's better to add the external pull up resistor.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
You have to check the data sheet of the KL03Z how strong the pull-ups are. Typically they will be in the 100kOhm range, so while it 'can work', I never would use that in a product as they are too weak. It is simply not reliable. Depending on the devices on your bus and the lines, typically you need something in the 4.7-10k range. See as well http://www.ti.com/lit/an/slva689/slva689.pdf
I hope this helps,
Erich
Thanks for the given hints!
regards,
gaston
Hi Gaston Schelotto,
Please also note, PTB3 and PTB4 is the true open drain pins, if you are using these two pins, you must add the external pull up resistor.
Even with the internal pull up, in the practical project, it's better to add the external pull up resistor.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------