• Forums
• Posts
Latest Posts
Active Posts
Recently Visited
Search Results
• Page Extras
• Forum Themes

### Hot!PIC18F2xK40 max output current

Author
Andy123
Super Member
• Total Posts : 497
• Reward points : 0
• Joined: 2005/04/25 14:20:54
• Status: offline
0

# PIC18F2xK40 max output current

I am looking at the datasheet for PIC18F24K40
Page 533 listed max output current for digital I/O pin at +/-50mA that is unusually high.
Is this something that I can rely on or it would be better to check with support?
Usually this number is between 20 and 25 mA

If this is a true, then I can drive 40mA LED backlight without a transistor if I don't exceed total power dissipation.
This will simplify the design.
Thanks.

### 3 Replies Related Threads

mbrowning
Just a Member
• Total Posts : 938
• Reward points : 0
• Joined: 2005/03/16 14:32:56
• Location: Melbourne, FL
• Status: offline
Re: PIC18F2xK40 max output current 2017/08/12 09:18:19 (permalink)
+1 (1)
That's the ABSOLUTE max table, not operational characteristics. Operational characteristics are in parameters D360 and D370. I think some parts may have I/V curves where you can get typical output voltage at current, but this one doensn't have any such data (yet)

ps - absolute max means if you exceed it you will likely damage the device.
You could infer the output impedance from D360/D370 by dividing the voltage drop / rise from power/gnd by the current. This will give you a worst case output impedance to calculate how much current an output can drive/sink at a given voltage.
post edited by mbrowning - 2017/08/12 09:31:44

Can't remember. I've slept since then - Mark
MBedder
Circuit breaker
• Total Posts : 6337
• Reward points : 0
• Joined: 2008/05/30 11:24:01
• Location: Zelenograd, Russia
• Status: offline
Re: PIC18F2xK40 max output current 2017/08/12 09:29:37 (permalink)
+1 (1)
Do not mix up the Absolute Maximum Ratings with Electrical Specifications. See for example the similar specs from a non-preliminary datasheet of 18F25K80:

Maximum output current sunk by PORTA<7:6> and any PORTB and PORTC I/O pins = 25 mA
Maximum output current sunk by any PORTD and PORTE I/O pins = 8 mA
Maximum output current sunk by PORTA<5:0> and any PORTF and PORTG I/O pins = 2 mA
Maximum output current sourced by PORTA<7:6> and any PORTB and PORTC I/O pins = 25 mA
Maximum output current sourced by any PORTD, PORTE and PORTJ I/O pins = 8 mA
Maximum output current sourced by PORTA<5:0> and any PORTF, PORTG and PORTH I/O pins = 2 mA

post edited by MBedder - 2017/08/12 09:31:08
Andy123
Super Member
• Total Posts : 497
• Reward points : 0
• Joined: 2005/04/25 14:20:54
• Status: offline
Re: PIC18F2xK40 max output current 2017/08/12 14:49:17 (permalink)
+1 (1)
I am coming from PIC18F23K22 and it has Max current 25mA Absolute Max:
Maximum output current sunk by any I/O pin 25 mA
Maximum output current sourced by any I/O pin 25 mA