What is the CC2540's IO sink capability?
Could I sink 20mA from a LED?
I have been unable to find it in the documentation.
This information is found in the CC253x/CC2540 User Guide chapter 7.3. All GPIO pins can sink/source 4mA. P1.0 and P1.1 have extra drive strength and can sink/source 20mA.
Remember to set PICTL.PADSC to 1 if your supply voltage gets below 2.6V. (chapter 7.2).
--PS. Thank you for clicking Verify Answer below if this answered your question!
The I/O capabilities are documented in the datasheet on page 15: http://www.ti.com/lit/ds/swrs084c/swrs084c.pdf, but I agree that there's some information missing there. The table lists threshold voltages for the 4 mA output pins, but not for the 20 mA output pins (P1.0 and P1.1). They are mentioned on the pin list on page 17, however.
These pins are identical to the ones of CC2530, which does list the threshold voltages (on page 17 of the CC2530 datasheet): http://www.ti.com/lit/ds/symlink/cc2530.pdf, you can see that they will both sink and source 20 mA.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.