Author Topic: Interfacing IC's with the z80 in an 84+  (Read 5430 times)

0 Members and 1 Guest are viewing this topic.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Interfacing IC's with the z80 in an 84+
« on: December 27, 2012, 09:08:26 am »
Is it possible to interface integrated circuits with the z80 in an 84+? Or older model? I heard it's buried inside an asic, but are there external busses available?
If you like my work: why not give me an internet?








Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Interfacing IC's with the z80 in an 84+
« Reply #1 on: July 19, 2013, 06:32:19 am »
Bump: Does anyone know anything about the pinout of the lcd driver? I suspect is is connected to the data bus, address bus and control lines of the z80, so I could tap into the I/O of the cpu there.

Does anyone know anything about this module: pinouts, datasheets?


Edit:This is what I found so far: it's a Toshiba T6K04


Here are 17 pins going from the main board to a little pcb with the driver attached. For a z80 interface you only need 12 pins and 2 for power. Still no idea what the pinout is of this 17 pin connection.

Is this correct? http://ripitapart.wordpress.com/2013/03/02/making-use-of-an-old-ti-83-plus-lcd-screen/
He describes the pinout of the module here.
« Last Edit: July 19, 2013, 06:53:26 am by Keoni29 »
If you like my work: why not give me an internet?








Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Interfacing IC's with the z80 in an 84+
« Reply #2 on: July 19, 2013, 09:51:09 am »
The LCD connector doesn't connect directly to the z80. It goes through driver chips and whatnot.

If you just want to interface with stuff externally your best bet would be the link port, coupled with an I/O expander. It wouldn't be fast, but it would at least not involve ridiculous amounts of soldering on your 83+ PCB

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Interfacing IC's with the z80 in an 84+
« Reply #3 on: July 19, 2013, 09:53:32 am »
But I WANT to do a ridiculous amount of soldering to my 83+ :) You know I already interfaced many devices with the linkport. I wanna take interfacing hardware to another level.
If you like my work: why not give me an internet?








Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Interfacing IC's with the z80 in an 84+
« Reply #4 on: July 19, 2013, 09:54:21 am »
well, you might try the keypad then. Lots of I/O there.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Interfacing IC's with the z80 in an 84+
« Reply #5 on: July 19, 2013, 09:55:05 am »
Is that I/O directly interfaced with the cpu?
If you like my work: why not give me an internet?








Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Interfacing IC's with the z80 in an 84+
« Reply #6 on: July 19, 2013, 09:56:39 am »
I think so. That's the way it is on the nspire, for what it's worth. It's a matrix of keys, so you don't have 50+ IO pins, just 8-16.

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Interfacing IC's with the z80 in an 84+
« Reply #7 on: July 19, 2013, 11:22:49 am »
The TI-83+ pictured above has a discrete Z80, so yes, you can tap directly into the Z80 bus. In fact, somebody else did that in the early 2000s, though I don't recall the Website it's documented on.

The TI-84+/C/SE does indeed have a keyboard matrix. It should have an 8+7+1 layout: 8 rows, 7 columns, and the ON key. However, the keyboard pins are protected by transistors, making them unsuitable for GPIO. There is indeed an external data bus and address bus. The address bus on the TI-83+SE was 24 bits: 23 address bits, plus a bit selecting RAM or flash. I don't know if the TI-84+/C/SE ASICs still have that RAM/flash select bit, but they all probably nevertheless assert the address onto the bus for RAM read/write. The LCD driver almost certainly shares the same data pins. Mysterious sources indicate that the TI-84+/C/SE TA3 ASIC also feature four external chip select pins for future expansion. The Z80 can address them by reading/writing ports 3C-3F. As far as I know, they are unused. On the TI-84+CSE, they read non-zero, but the value never changes, so it may be garbage. Unfortunately, nobody has pinout information. However, some high-resolution photographs I took of my revision A TI-84+SE and my shiny new TI-84+CSE may be useful to you. As far as I can tell, the right side has keyboard matrix pins, the top has USB stuff, the left has the data/address bus pins, and the bottom may contain more, plus miscellaneous stuff like the CPU clock frequency and the 32768 Hz crystal.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Interfacing IC's with the z80 in an 84+
« Reply #8 on: July 19, 2013, 02:11:49 pm »
Thank you for your information. Perhaps somone with a logic analyser can work some of this out.
If you like my work: why not give me an internet?








Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Interfacing IC's with the z80 in an 84+
« Reply #9 on: July 19, 2013, 05:52:43 pm »
Next weekend I'll borrow the oscope from work and take apart 84+SE (yet again) to see if I can find anything useful, I'm really curious about the $3c-$3f ports DrDnar mentioned. This is my last 84+SE so I'm not going to try anything crazy, just write ports and test pins. My last 84+SE project was a complete failure. Tried to make a backlight but I think I cracked the LCD somewhere trying to remove the glued backing. The contrast was so dim, I could barely make out what was on the screen. On this current one, I soldered wires straight to the link port so I wouldn't have to plug and unplug my bootleg (but useful) breakout cable.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Interfacing IC's with the z80 in an 84+
« Reply #10 on: July 20, 2013, 04:42:06 am »
I have taken apart my only 84+ several times and I have done crazy mods to it (soundchip embedded in it, expansion port on the side, DC 5v power jack) I might give it a shot too. Try writing patterns of bytes to those ports and measure the voltage on those keyboard traces with the scope.
If you like my work: why not give me an internet?








Offline AssemblyBandit

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 374
  • Rating: +60/-1
  • ~AssemblyBandit~
    • View Profile
    • briandm82.com
Re: Interfacing IC's with the z80 in an 84+
« Reply #11 on: July 20, 2013, 07:45:00 am »
Got it. I would love to have my own scope that I could use whenever I wanted, I was ordering a DSO nano today.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Interfacing IC's with the z80 in an 84+
« Reply #12 on: July 20, 2013, 07:45:57 am »
I got one, but it's an old analog scope, so you cannot save anything or look at it longer than a split second.
If you like my work: why not give me an internet?