Author Topic: Z80 LQFP44 pinout  (Read 5287 times)

0 Members and 1 Guest are viewing this topic.

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Z80 LQFP44 pinout
« on: May 08, 2019, 09:54:14 pm »
 
Hello.

Can someone confirm if the pinout of the Z80 LQFP44 on the data sheet is correct?
I have replaced a Z80 PLCC in a design with a Z80 LQFP, and it does not work. The rest of the scheme is identical, only the Z80 was replaced.

The original that works is a Z84C0006VEG in PLCC socket, and the new one is a Z84C0010AEG in LQFP44.
I attach screenshots of the pinout of the data sheet, and both in my Eagle schemas.


« Last Edit: May 08, 2019, 09:56:36 pm by luiHS »
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2085
Re: Z80 LQFP44 pinout
« Reply #1 on: May 08, 2019, 11:16:28 pm »
I cannot directly confirm the equivalence, however, I did use the very same datasheet to reverse engineer these diagrams:
https://www.eevblog.com/forum/repair/ap-series-power-supply-(ap60-50)-(wayne-kerr-farnell-hitek-aps)/msg1733669/#msg1733669
All I can say is that all the pins on the LQFP44 package were in accoradance with where I expected them to be.
 

Offline wilfred

  • Super Contributor
  • ***
  • Posts: 1252
  • Country: au
Re: Z80 LQFP44 pinout
« Reply #2 on: May 09, 2019, 01:26:14 am »
I couldn't see you made an error. Why don't you draw *WAIT next to *BUSACK and *BUSREQ to avoid having a wire run into the chip symbol?
 

Offline obiwanjacobi

  • Frequent Contributor
  • **
  • Posts: 988
  • Country: nl
  • What's this yippee-yayoh pin you talk about!?
    • Marctronix Blog
Re: Z80 LQFP44 pinout
« Reply #3 on: May 09, 2019, 05:36:33 am »
Are you sure the pin (number) mapping in the footprint is correct?
The NC's are on different pins/pads between these packages...

[2c]
Arduino Template Library | Zalt Z80 Computer
Wrong code should not compile!
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #4 on: May 09, 2019, 10:10:34 am »
The footprint I made for Eagle is correct. Today Zilog answered me by email, they sent me the same document I already had, a PDF with the "Product update, errata for Z8400 / Z84C00 NMOS / CMOS Z80, CPU devices".

I do not know what the problem is, I checked the scheme, the footprint, I replaced the Z80 with a new chip in case it was damaged. Now I'm going to see if I replace the RAM chip, a 6264, in case I had burned it, but I would be very surprised because it is all solder in the oven and I have never burned anything.

The eprom 27c010 is fine, because I put it on the other board with the Z80 in PLCC and it works perfectly. I have also measured continuity in the socket PLCC32 of 27c010, and everything seems to be fine.

It seems like a design error or the RAM is damaged, I can not think of anything else. But checking the footprint and the schema it seems to me that everything is fine. If Zilog confirms that the pinout is correct, I run out of ideas.

 |O |O |O |O |O |O |O
« Last Edit: May 09, 2019, 10:39:25 am by luiHS »
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #5 on: May 09, 2019, 02:55:35 pm »
 
I replaced the RAM (6264), but everything remains the same. I also resold the welds of all the chips and measured continuity in all the signals, everything is fine, but it does not work. I even raised the supply voltage, since my board has a schottky diode in the positive that caused the voltage to drop somewhat. Adjust my source, to measure 5 volts in the supply voltage of the Z80.

I also checked that there are no short circuits between pins, everything is fine.
I can not think of anything else, the only thing left for me to think is that the pinout of the datasheet is wrong, it is not what they indicate.

Another thing I thought, but I would be surprised if it was that. In the circuitry of my board is used 74HC chips, this works perfectly with the Z80 in PLCC, I do not think it is different with the Z80 in LQFP and it needs 74LS or 74HCT, for TTL compatibility.

I'm about to leave the circuit as was before, with the Z80 in PLCC mounted on a socket. It's a shame because in LQFP it's much smaller, it does not need a socket, and my Pick and Place Neoden4 machine can mount it.

What bothers me is not knowing why it does not work, just for the fact of changing the format of the chip, when the rest of the circuit is the same. Intuition tells me that the pinout is wrong, but I do not know how I could prove it.

 :scared: :scared: :scared: :scared: :scared: :scared: :scared: :scared: :scared: :scared:
« Last Edit: May 09, 2019, 03:02:08 pm by luiHS »
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16860
  • Country: lv
Re: Z80 LQFP44 pinout
« Reply #6 on: May 09, 2019, 03:19:30 pm »
I would try bodgwire CPU in PLCC and see if it works.
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #7 on: May 09, 2019, 03:25:46 pm »
I would try bodgwire CPU in PLCC and see if it works.


You mean to wire by hand, pin to pin the LQFP Z80 on the PLCC board?

Something like that I also thought, although it is a very laborious job, they are 44 pins, less some that are not used. Soldering 40 wires by hand, from an LQFP44 chip to the pads of a PLCC in the PCB, I see it too complicated.

Maybe making a small PCB with the LQFP soldered and from there to the main board, but I do not know how to connect those two boards, so that it's simple.

If this worked, it would indicate an error in the LQFP main board, but I would be very surprised, because the scheme is the same, copied from one board to do the other, simply replacing the Z80 PLCC with an LQFP.

I could make an adapter with the LQFP44, and to weld it to the PLCC pads, make the adapter with castellated mounthing holes. I think that is what I'm going to do, but I suspect that it will not work and that will confirm that it is an erroneous pinout.
« Last Edit: May 09, 2019, 03:30:48 pm by luiHS »
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16860
  • Country: lv
Re: Z80 LQFP44 pinout
« Reply #8 on: May 09, 2019, 04:05:24 pm »
You mean to wire by hand, pin to pin the LQFP Z80 on the PLCC board?
I mean PLCC on LQPF board. Though the way as you wrote might be useful too. I don't think it would take more than an hour to me.
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #9 on: May 09, 2019, 06:21:12 pm »
You mean to wire by hand, pin to pin the LQFP Z80 on the PLCC board?
I mean PLCC on LQPF board. Though the way as you wrote might be useful too. I don't think it would take more than an hour to me.

Ok, I understand what you want to say. Although solder 40 wires, one by one by hand, it seems quite hard.

I have design these two small adapter boards, to connect the LQFP Z80 to the PLCC board, using THT 1.27mm connectors to solder to the PLCC SMD pads. If my main board with the Z80 in LQFP is badly designed, and that is really the problem, with this small adapter the LQFP must work on the board that now has the Z80 PLCC installed (this one works).

One adapter board is according with datasheet, the number 1, and the number 2 is pin to pin.

« Last Edit: May 10, 2019, 06:16:50 am by luiHS »
 

Offline obiwanjacobi

  • Frequent Contributor
  • **
  • Posts: 988
  • Country: nl
  • What's this yippee-yayoh pin you talk about!?
    • Marctronix Blog
Re: Z80 LQFP44 pinout
« Reply #10 on: May 12, 2019, 05:26:20 pm »
You could use the typical Z80 test setup (*) to reverse engineer the pinout...

*) Use a clock source (NEN555), connect all D-lines with resistors to ground and pullup all interrupts (BUSREQ/INT/WAIT etc)
https://z80project.wordpress.com/2014/02/09/z80-test-circuit/
Arduino Template Library | Zalt Z80 Computer
Wrong code should not compile!
 
The following users thanked this post: luiHS

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #11 on: May 13, 2019, 04:53:29 pm »
You could use the typical Z80 test setup (*) to reverse engineer the pinout...

*) Use a clock source (NEN555), connect all D-lines with resistors to ground and pullup all interrupts (BUSREQ/INT/WAIT etc)
https://z80project.wordpress.com/2014/02/09/z80-test-circuit/


Thanks, if my adapters fail, I'll try your idea. But if the pinout is all wrong, I think it will also be difficult to locate where each pin is actually, it may even be that neither the clock signal is where the datasheet indicates, or the interruption signals.

The truth is that I miss so much a major failure in the datasheet, and there are no complaints. Unless the Z80, nowadays they are practically not used, or use the DIP to replace them in original vintage boards, because both the DIP and the PLCC work without problems with the pinout of the datasheet.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16860
  • Country: lv
Re: Z80 LQFP44 pinout
« Reply #12 on: May 13, 2019, 05:03:13 pm »
The truth is that I miss so much a major failure in the datasheet.
99,9% chance there is no error in the datasheet. Frankly it's stupid to blame the datasheet without even doing any measurements. It could be simply erratic pinuot in your design. For example it may look fine as a symbol, but some pin in the footprint does not match. Did you even try replacing CPU, where did you buy it?
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #13 on: May 13, 2019, 06:11:53 pm »
The truth is that I miss so much a major failure in the datasheet.
99,9% chance there is no error in the datasheet. Frankly it's stupid to blame the datasheet without even doing any measurements. It could be simply erratic pinuot in your design. For example it may look fine as a symbol, but some pin in the footprint does not match. Did you even try replacing CPU, where did you buy it?

All tested, and the scheme is the same that I used with the PLCC, in fact I copied the same Eagle project that I made with Z80 PLCC and I simply replaced it with the LQFP. I have already checked the LQFP footprint pin assignment many times in my design, and everything is in accordance with the data sheet, I put the schematic with its pins above.

And as for measurements, the clock signal is correct, I also see signals on the data and address bus, replaced the RAM, the Z80 and the ROM (PLCC32). Now, with this adapter, I will know if my design is incorrect or if the pinout is incorrect.

As for the fact that the datasheet is wrong, it would not seem so strange to me, that a single pin is wrong and may be enough to make it not work. Also taking into account that the Z80 in its LQFP version is likely to be used little, I would not be surprised if nobody claimed it. In DIP and PLCC its easy to be used currently to replace in old designs.


« Last Edit: May 13, 2019, 06:19:15 pm by luiHS »
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #14 on: May 13, 2019, 08:30:25 pm »
This is the footprint pin assignment of my LQFP44, according to the datasheet. I have also checked that the order of the pins and their location is correct, as it appears in the datasheet.

This Wednesday or Thursday, I will receive from JLCPCB the small adapter PCB board to check the LQFP in my PLCC board, to know if really the problem is a wrong design of my board or the problem is the pinout of LQFP.

I have thought, if using the Z80 LQFP, the additional circuit chips should be TTL compatible 74LS, instead of the 74HC that my board now installs (and that works with the PLCC). But I find it unlikely.

Another possibility is that some of the circuit chips are burned, but it seems strange because I soldered everything in the oven. I also went through all the welds of the 74xx, RAM and ROM chips by hand, in case there was any defective solder, I soldered them all again.
« Last Edit: May 13, 2019, 08:42:45 pm by luiHS »
 

Offline obiwanjacobi

  • Frequent Contributor
  • **
  • Posts: 988
  • Country: nl
  • What's this yippee-yayoh pin you talk about!?
    • Marctronix Blog
Re: Z80 LQFP44 pinout
« Reply #15 on: May 14, 2019, 06:38:02 am »
Where did you source the chips?
(looking for some myself)
Arduino Template Library | Zalt Z80 Computer
Wrong code should not compile!
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
« Last Edit: May 14, 2019, 10:33:35 am by luiHS »
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: gb
Re: Z80 LQFP44 pinout
« Reply #17 on: May 14, 2019, 12:41:42 pm »
I have thought, if using the Z80 LQFP, the additional circuit chips should be TTL compatible 74LS, instead of the 74HC that my board now installs (and that works with the PLCC). But I find it unlikely.

Unlikely, the package has nothing to do with logic family compatability.

The Z84C00 is a CMOS device, not TTL, so be careful. Using TTL parts (e.g. LS) with a CMOS device that doesnt have TTL compatible inputs may lead to additional problems and more time wasted tracking them down.

Having said that, page 34 of the datasheet as per Mouser suggests that the inputs of a Z84C00 may already be TTL compatible (logic low is 0.8V max and logic high is 2.2V min).

Anyway, I have built a couple of projects using the DIP version of these parts and I have used HC logic without any issues.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Z80 LQFP44 pinout
« Reply #18 on: May 14, 2019, 03:50:41 pm »
I'm seeing some open pins on the adapter board. That is asking for trouble. Another trick is to lower the operating frequency to rule out timing problems.
« Last Edit: May 14, 2019, 03:52:24 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: gb
Re: Z80 LQFP44 pinout
« Reply #19 on: May 14, 2019, 08:49:39 pm »
I'm seeing some open pins on the adapter board. That is asking for trouble.
They are all no connects, or outputs (HALT, RFSH and BUSACK). Nothing to worry about.  :-+
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Z80 LQFP44 pinout
« Reply #20 on: May 14, 2019, 10:03:06 pm »
I don't see whether the rest of the circuit the Z80 sits in should function with these lines not being driven. I have used the Z80 a lot decades ago and it is relatively simple to use. So there are 3 options here: faulty adapter, faulty chip or the circuit needs those extra lines connected.

A corner case may be that the original circuit's timing is marginal and the 10MHz replacement Z80 is responding faster than expected (compared to the 6MHz version).
« Last Edit: May 14, 2019, 10:08:57 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2270
  • Country: us
Re: Z80 LQFP44 pinout
« Reply #21 on: May 15, 2019, 02:36:16 am »
Something about your design might also be iffy, so the old (NMOS?) chip works but the CMOS one doesn't.

Do you have a scope?  If so, start by checking the reset pin (to make sure it's held in reset long enough for proper POR), then the clock input.  Then check the bus outputs to see that it tries to execute code.  Check the bus control signal levels.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: Z80 LQFP44 pinout
« Reply #22 on: May 15, 2019, 11:51:58 am »
The original is CMOS too. Actually it seems you can still buy these new from Mouser in a PLCC package. That would have been cheaper than creating the footprint converter.
https://www.mouser.de/ProductDetail/ZiLOG/Z84C0006VEG?qs=sGAEpiMZZMvu0Nwh4cA1wSr8HV81hI8hMFMv9GP8MJI%3D
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online luiHSTopic starter

  • Frequent Contributor
  • **
  • Posts: 592
  • Country: es
Re: Z80 LQFP44 pinout
« Reply #23 on: May 20, 2019, 10:43:12 pm »
 
Today I assembled and installed the adapter for the Z80 LQFP to PLCC. And it has worked perfectly.

I find it strange, because the project of the board with the Z80 in LQFP was a copy of the same project in PLCC. I can think of several explanations.

1.- In this adapter I used a Z80 of 6Mhz, and in the board that does not work I installed a Z80 of 10Mhz. I do not think that's the problem, I suppose a Z80 10 Mhz can work perfectly on a board with a lower clock signal, in my case 4Mhz.
ncnico commented that this could be the problem, I will try to install this Z80 6Mhz on the other board to see if it works, and that would explain everything, although it would seem very strange to me that this is the problem..

2.- For some reason that I do not know, for now, despite having copied the Z80 PLCC project to do the LQFP project, I must have made some mistake. But I can not think of which, because the rest of the scheme is identical, only the Z80 PLCC was replaced to an LQFP, and the pinout has already been revised several times, as well as the footprint.

Taking into account that on the board that the LQFP does not work, I have soldered all the chips again, I replaced the socket PLCC32 of the ROM and also the RAM, I do not see where the problem may be.

I'm going to install the Z80 6Mhz, on the board that does not work, and if it still does not work, what I'll do is copy the Z80 PLCC project back into a new one and make the changes from Z80 PLCC to LQFP. Now that the pinout of the Z80 LQFP is fine, with copying the adapter scheme to the new project and replacing the PLCC, it should work.

Common sense tells me that I most likely made some mistake in modifying the project to replace the PLCC with an LQFP, but I do not see where. The scheme is the same, the pinout is correct and the footprint is also checked several times.
« Last Edit: May 20, 2019, 10:53:47 pm by luiHS »
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16860
  • Country: lv
Re: Z80 LQFP44 pinout
« Reply #24 on: May 20, 2019, 11:24:40 pm »
There is also probability that PCB is simply defective. Once I've got a few PCBs from PCBway with defective vias.
 
The following users thanked this post: luiHS


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf