Author Topic: MCP23017: same part number, two fewer inputs  (Read 5575 times)

0 Members and 1 Guest are viewing this topic.

Offline NiHaoMikeTopic starter

  • Super Contributor
  • ***
  • Posts: 9008
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
MCP23017: same part number, two fewer inputs
« on: February 05, 2023, 06:17:49 pm »
https://hackaday.com/2023/02/03/mcp23017-went-through-shortage-hell-lost-two-inputs/
Looks like Microchip messed up a batch (or even an update to a newer process) and decided to change the datasheet rather than fix the problem. Hope it doesn't end up in some product where those missing inputs are important...
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline djsb

  • Frequent Contributor
  • **
  • Posts: 890
  • Country: gb
Re: MCP23017: same part number, two fewer inputs
« Reply #1 on: February 05, 2023, 06:28:55 pm »
Maybe it's shrinkflation?
David
Hertfordshire,UK
University Electronics Technician, London PIC,CCS C,Arduino,Kicad, Altium Designer,LPKF S103,S62 Operator, Electronics instructor. Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. Credited Kicad French to English translator.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: MCP23017: same part number, two fewer inputs
« Reply #2 on: February 05, 2023, 06:55:54 pm »
More likely scenario is that some marginal behaviour was discovered and those pins can't fully meet the specification and instead of providing a full new set of characteristics, they were descoped.

It is likely that if it worked so far in your design, it will continue to work. The change is to prevent new designs from into running into potential issues.

In MCU world this happens occasionally and accompanied by a note in the errata document, but I'm not sure if there is even errata for basic ICs like this.

It would be interesting to see if those pins actually work just as they used to and the change is only to the datasheet.
Alex
 
The following users thanked this post: djsb, newbrain

Offline gamalot

  • Super Contributor
  • ***
  • Posts: 1303
  • Country: au
  • Correct my English
    • Youtube
Re: MCP23017: same part number, two fewer inputs
« Reply #3 on: February 06, 2023, 07:06:03 am »
I'm guessing there is nothing has changed on the chip itself, it's just that those two pins were found to work incorrectly when used for input.

Offline newbrain

  • Super Contributor
  • ***
  • Posts: 1719
  • Country: se
Re: MCP23017: same part number, two fewer inputs
« Reply #4 on: February 07, 2023, 03:53:28 pm »
More likely scenario is that some marginal behaviour was discovered and those pins can't fully meet the specification and instead of providing a full new set of characteristics, they were descoped.
[...]
It would be interesting to see if those pins actually work just as they used to and the change is only to the datasheet.
I think you are 100% correct; from the change notification page:
Quote
NOTE: Please be advised that this is a change to the document only the product has not been changed.

EtA: Oh $DEITY - why did I start reading the comments on HaD, it's the YouTube of tech sites.
« Last Edit: February 07, 2023, 04:07:01 pm by newbrain »
Nandemo wa shiranai wa yo, shitteru koto dake.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12855
Re: MCP23017: same part number, two fewer inputs
« Reply #5 on: February 07, 2023, 05:14:47 pm »
It was a known silicon bug (circa 2014) that never made it into the errata!  Basically a rapidly toggling signal on bit 7 of either port intermittently causes the other bits of the port to read as '1' irrespective of their input level.

See https://www.microchip.com/forums/m831656.aspx
and
https://forums.raspberrypi.com/viewtopic.php?f=44&t=91209

Edit: I am the same Ian.M as reply #2 in the Microchip topic, and have been wary of this issue whenever I've used a MCP23017 ever since.
« Last Edit: February 08, 2023, 10:04:57 am by Ian.M »
 
The following users thanked this post: thm_w

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6352
  • Country: ca
  • Non-expert
Re: MCP23017: same part number, two fewer inputs
« Reply #6 on: February 07, 2023, 10:45:25 pm »
The weird thing is in that 2014 Microchip thread, ticket was filed with support, and support confirmed the problem. You'd expect it to be added to errata within a reasonable time period.
Makes you wonder how many other reported issues exist and have never made it to the datasheet.

EtA: Oh $DEITY - why did I start reading the comments on HaD, it's the YouTube of tech sites.

If you can filter through most of the posts of trolls and noobs who have no idea what they are talking about, the remaining 20% are good. All of the info posted in this thread was already covered there.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: MCP23017: same part number, two fewer inputs
« Reply #7 on: February 07, 2023, 11:05:59 pm »
Makes you wonder how many other reported issues exist and have never made it to the datasheet.
A lot. In fact only a fraction of the issues makes it into the errata or the datasheet. There are many issues that only show up in marginal use cases, those will almost never get published. This is especially true for very old parts.

In this case to me it seems like response could be faster, but it is hard to tell what was going on. It is possible that it affected some big customer and they needed an official reason for a design change on their side or something like this.
Alex
 
The following users thanked this post: thm_w, newbrain

Offline vk6zgo

  • Super Contributor
  • ***
  • Posts: 7585
  • Country: au
Re: MCP23017: same part number, two fewer inputs
« Reply #8 on: February 08, 2023, 12:13:14 am »
Back in the day, we had an "in house" built TV transmitter remote control unit (one of two) in for a modification for one of the programme inputs.

In the "guts" we used a 4000 series monostable IC (too long ago, so I don't remember the number), which was used to obtain a relatively long time delay.

For some reason, whilst working on the equipment, I removed this IC & carefully placed it to one side, where it promptly fell on the floor, where try as I might, I couldn't find it.

"Bummer!" said I, but consoling myself with the fact that we had plenty in stock, I grabbed one from the parts store & continued with the "mod".

When I finished & tested the unit, it didn't work correctly, as the mono always timed out early.
Assuming it was one "rogue" device, I grabbed some more, all of which had the same problem, while another mono of the same type from another part of the unit worked correctly.

After much digging through data books (No Internet back then), it turned out that people had been having problems with erratic operation when using short time delays, so the problem was fixed by optimising the device for such intervals, to the detriment of long ones.
The problem was that they kept the original number for these modified ones & allocated the original device a new number.

We bought a bunch of the new number, which worked as before, changed the remote control's documentation to reflect this, then when the second unit was taken out of service for the original "mod", changed the ICs in that one too.

OK for us, with two units---imagine if we had thousands of them in the field & in production!
 

Offline dmills

  • Super Contributor
  • ***
  • Posts: 2093
  • Country: gb
Re: MCP23017: same part number, two fewer inputs
« Reply #9 on: February 08, 2023, 09:38:17 am »
I remember getting bitten by that one.
Daft thing is the 'long duration' variant got re released under a different part number.
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2572
  • Country: us
  • Not An Expert
Re: MCP23017: same part number, two fewer inputs
« Reply #10 on: October 24, 2023, 03:06:25 am »
Holy crap!  I almost just got bit by this!  I was looking at an older version of the datasheet during the whole design.  I just happened to google the part number as I was setting resistor values on the BOM consolidation phase and saw the updated datasheet with that note. 

Wow.  This is so messed up!

https://microchip.my.site.com/s/article/GPA7---GPB7-Cannot-Be-Used-as-Inputs-In-MCP23017
"Answer:
In the datasheet Revision D (June 2022), GPA7 & GPB7 are mentioned as outputs only for MCP23017. But, the register bits do allow for the direction of these I/O pins to be changed to inputs. However, the SDA signal can be corrupted during a reading of these bits if the pin voltage changes during the transmission of the bit. It has also been reported that this SDA corruption can cause some bus hosts to malfunction. In conclusion, GPA7 & GPB7 should only be used as outputs to avoid future issues."

I totally came here to make a post about this, but of course it already exists....
« Last Edit: October 24, 2023, 03:44:14 am by Smokey »
 
The following users thanked this post: Ian.M


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf