RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » National Semi NS32000 series -- Any interest? (NS32016 NS32032 NS32532 series of CPU's NS32CG16 NS32CG160)
National Semi NS32000 series -- Any interest? [message #7227] Fri, 13 March 2020 11:45 Go to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
For some time now I've been considering playing with an updated version of the 32000 series. SRAM memory chips are now much bigger now, and the ECB bus looks like a good place to update to a 16-bit system.

Here is a link to an S-100 system I built many years ago: http://www.cpu-ns32k.net/index.html

The old chips (NS32016 &c.Wink are VERY expensive, if you can find them. The 32CG16 chips are cheaper, and do not require separate TCU. I would be curious to know if there is anyone interested in playing with this old National Semiconductor line.

--John
Re: National Semi NS32000 series -- Any interest? [message #7228 is a reply to message #7227] Fri, 13 March 2020 11:46 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
This is the direct link to my S-100 system: http://www.cpu-ns32k.net/John.html
Re: National Semi NS32000 series -- Any interest? [message #7229 is a reply to message #7228] Fri, 13 March 2020 13:59 Go to previous messageGo to next message
Jonas is currently offline  Jonas
Messages: 77
Registered: October 2015
Member
Hi John

I have never done anything with the NS32000-series, but I followed the discussion at this forum about NS32532, NS32CG160 et cetera a few years ago. I actually bought ten NS32CG160 from Utsource and five NS32081 from someone in Poland. Your board (yes, I have read most of the stuff at www.cpu-ns32k.net) is far far beyond my capabilities. I have been looking at the reference design in the datasheet for the NS32CG160 as a starting point. And the software part of this ...?

Despite my lack of knowledge, I would love to build something with a NS32000. The NS32CG160 is available and affordable with several integrated peripherals. A good starting point.

Jonas

[Updated on: Fri, 13 March 2020 14:01]

Report message to a moderator

Re: National Semi NS32000 series -- Any interest? [message #7232 is a reply to message #7229] Fri, 13 March 2020 18:08 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
I have a tube of NS32008 and had a plan to add NS32008 to the G8PP family, but the software development seems a big hurdle. My lack of time doesn't help, either.
Bill
Re: National Semi NS32000 series -- Any interest? [message #7236 is a reply to message #7232] Sat, 14 March 2020 10:37 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
The NS32008 CPU is a tempting choice, but it requires the NS32201 TCU (Timing Control Unit). They are both hard to find, and often expensive. The advantage of the '008 is the simplicity of an 8-bit bus. For a major system, the only choice is the '532, but it uses a 32-bit bus. This wide bus in not appropriate for a 'toy' system.

My S-100 system is passe, and I am not considering cannibalizing it. The higher integration 'CG' chips look like a better bet. They are essentially a 32016 with TCU, FPU interface, but no MMU connection ability. The CG160 is tempting, and I have a trial design for a Single Board Computer. With a socket for FPU & UART, the board is out of space for 2 x 512K byte SRAMs.

More recently I have considered a 2-board system using the CG16 with the MF/PIC board providing UART & NVRAM/RTC, PPIDE; interfacing the ICU ('202 Interrupt Contoller) takes a bit of tinkering.

I think the choices are:

1. A 2-board NS32CG16 system with FPU socket, 2 x 512Kb SRAM, and I/O interfacing using the MF/PIC. Form factor stays 100mm x 160mm, RetroBrew traditional size.
2. An SBC (Single Board Computer) using the NS32CG160 with FPU socket, 2 x 512Kb SRAM, UART, NVRAM/RTC, PPIDE. The form factor would expand to 6U, 233mm x 160mm (VME size). With an ECB bus, it would fit the Siemens 505-6508 card cage ( https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l 1313&_nkw=Siemens+6508&_sacat=0Wink.

Software:

GCC 3.4.6 cross compiler. (No module calls, however). AFAIK, this is the last version of GCC to support the NS32000.
GAS assembler. (It appears to support the Module-call/return instructions)
Complete loader, library, &c. cross support.

At this time, I do not know of an OS to bring up. CP/M-68 is probably adaptable, since it is mostly C-code. However, I would rather support the FAT-16/32 file system.



Re: National Semi NS32000 series -- Any interest? [message #7238 is a reply to message #7236] Sat, 14 March 2020 14:55 Go to previous messageGo to next message
Jonas is currently offline  Jonas
Messages: 77
Registered: October 2015
Member
Both alternatives are tempting and both CPUs are available at Utsource for a reasonable price.
I would prefer the SBC using the NS32CG160, despite the larger size of the board.
Re: National Semi NS32000 series -- Any interest? [message #7239 is a reply to message #7227] Sat, 14 March 2020 15:34 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Anchor Electronics has NS32016N-10 for $8.95 and NS32201D-10 for $19.95. I've purchased several pairs. NS32201D is in ceramic DIP with gold lid which is probably why it is so expensive.

I have updated my G8PP baseboard so all I need is a NS32008 processor board, but darn it, I have too many other projects going on!
Bill
Re: National Semi NS32000 series -- Any interest? [message #7241 is a reply to message #7238] Sat, 14 March 2020 18:33 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
I would strongly like to keep with the 100mm x 160mm board. One way to do this with the CG160 would be to eliminate the FPU (PLCC68).
An alternative would be to use a surface mount 512K x 16 memory chip. The good thing about the CG160 is that it does not require the '202 ICU.
Surface mounting takes some practice, however. I used up several QFP-132's practicing the art.

--John
Re: National Semi NS32000 series -- Any interest? [message #7242 is a reply to message #7241] Sun, 15 March 2020 01:40 Go to previous messageGo to next message
Jonas is currently offline  Jonas
Messages: 77
Registered: October 2015
Member
Standards are (almost always) a good thing.
FPUs are not abundant and if you find one it's probably a $30+ part anyway. My FPUs (NS32081) from Poland were a lot cheaper but 10 or 15 MHz only and I have no idea if they are dead or alive. I would be happy without a FPU socket. Surface mount with a soldering iron is not funny and takes some practice as you say. I have had 100% success, though, with Sergey's ISA SVGA (two) and Geoff Graham's Colour Maximite (four). Six functioning boards with millipedes. I soldered one of them 90 degrees wrong by mistake (of course...Wink. One hundred pins firmly soldered on the board. I de-soldered the chip using a glass ceramic hotplate at moderate heat. I could lift the chip from the board after a few seconds. Chip and board where not damaged.

Jonas
Re: National Semi NS32000 series -- Any interest? [message #7243 is a reply to message #7242] Sun, 15 March 2020 05:49 Go to previous messageGo to next message
Jonas is currently offline  Jonas
Messages: 77
Registered: October 2015
Member
How about two 512k x 8 SRAM, SOP-32, instead of one 512k x 16? Easy surface mount.

https:// eu.mouser.com/Semiconductors/Memory-ICs/SRAM/_/N-4bzpt?P=1z0 w12oZ1yzay1rZ1z0y0oqZ1yzmm18
Re: National Semi NS32000 series -- Any interest? [message #7244 is a reply to message #7243] Sun, 15 March 2020 06:40 Go to previous messageGo to next message
dgf1966 is currently offline  dgf1966
Messages: 46
Registered: November 2015
Member
John,

I would be interested in a NS32000 series board, your option 2 would be my preference although either
would be fine if push came to shove.

A little over two years ago I got involved in the NS32000 thread that I think was raised on this forum
but since then i've got bogged down in too many projects and the idea got shelved.

As a result of that thread I did produce a prototype board for a proof of concept idea
that I had based on the National Semiconductor application note AN-733 but using the NS32CG160/ATF1504/NS16450,
but the firmware/CPLD code was never completed and so the project lies in the 'to do' pile.

http:// bitsavers.trailing-edge.com/components/national/_appNotes/AN -0733.pdf

Regards

Dave Fry
Re: National Semi NS32000 series -- Any interest? [message #7245 is a reply to message #7244] Sun, 15 March 2020 07:06 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi John
Back in 2017 I captured the Bruce Culbertson NS32016 design as a baby-ATX board in KiCAD. You are welcome to it. Maybe you can salvage the components for your design or use it as a starting point.

[Updated on: Sun, 15 March 2020 07:07]

Report message to a moderator

Re: National Semi NS32000 series -- Any interest? [message #7246 is a reply to message #7245] Sun, 15 March 2020 07:35 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
If you are comfortable using CPLD, then the design becomes significantly smaller. An ATF1508 have enough logic for DRAM controller and serial EEPROM bootstrap so the design reduce to a 8-pin serial boot flash, CPLD, 1megx16 DRAM and CG160.

If compact flash is used, then it can also boot out of CF and eliminate the 8-bin serial boot flash, which also simplifies the CPLD design as well. Easily fit in 100mm X 100mm pc board with a couple I/O expansion slots.
Bill

[Updated on: Sun, 15 March 2020 07:37]

Report message to a moderator

Re: National Semi NS32000 series -- Any interest? [message #7330 is a reply to message #7246] Fri, 27 March 2020 09:01 Go to previous messageGo to next message
rpiguy2 is currently offline  rpiguy2
Messages: 9
Registered: March 2020
Junior Member
New member here. Can you run a NS32016 without an MMU?
Re: National Semi NS32000 series -- Any interest? [message #7331 is a reply to message #7330] Fri, 27 March 2020 09:04 Go to previous messageGo to next message
rpiguy2 is currently offline  rpiguy2
Messages: 9
Registered: March 2020
Junior Member
I just remembered that Byte Magazine published a nice design for the NS32016, but again it uses the MMU.

Here is the DSI-32 article:
https://archive.org/details/byte-magazine-1985-08/page/n127/ mode/2up/search/NS32016?q=NS32016

An eBay seller here in NJ has over 200 NS32016s for sale:
https://www.ebay.com/itm/MICROPROCESSOR-MICROCONTROLLER-IC-3 2016N10-48-PIN-PDIP-NATIONAL-NS32016N10/283485005019?hash=it em420105e4db:g:Vd0AAOSwLNtc2xOg
Re: National Semi NS32000 series -- Any interest? [message #7336 is a reply to message #7330] Fri, 27 March 2020 12:10 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
Yes, the NS32016 may be used without the MMU. The SETCFG instruction can indicate that it is absent.

Today, I think I would use the NS32CG16 instead of the NS32016: no TCU is needed.

Since I started this thread a couple of weeks ago I have been honing in on a 32000 design:

1. NS32CG160 -- seemed more popular than the NS32CG16.
2. ECB board size.
3. UART in PLCC44 package.
4. IDE interface - 16-bit.
5. 1meg SRAM; 128k ROM.
6. Interfaced to the ECB bus.
7. The FPU just may fit. This is to be determined.

I'm having serious PC power supply problems at the moment. So I may be out of contact for a bit.

--John
Re: National Semi NS32000 series -- Any interest? [message #7342 is a reply to message #7336] Sat, 28 March 2020 08:43 Go to previous messageGo to next message
etchedpixels is currently offline  etchedpixels
Messages: 333
Registered: October 2015
Senior Member
I also have a half baked board design here for the CG16 and the FX16 (it seems to be a matter of a jumper or two to support both) for the 80pin RC2014 bus. I've not really had enough time to finish it off as I've got a pile of software to do to bring up the RC2014 1802, 6303, 68008, 80C188 and Z8 processor boards.

There is also an FPGA re-implementation of an NS32K that was used on the new (well 2015 or so) BBC Micro matchbox tube interface.

I would be interested providing there isn't too much surface mount.
Re: National Semi NS32000 series -- Any interest? [message #7347 is a reply to message #7342] Sat, 28 March 2020 10:19 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
The direction of the NS32CG160 board is to use NO surface mount components. This differs from my initial design.

There will, however, be PLCC-84/68/44 sockets; but the pins are on 0.1" centers.

--John
Re: National Semi NS32000 series -- Any interest? [message #7359 is a reply to message #7347] Sun, 29 March 2020 01:23 Go to previous messageGo to next message
gbm is currently offline  gbm
Messages: 34
Registered: January 2018
Member
I was thinking about the possible NS32k version of my platform, SDC_One. Looks like the 32201 is not really needed. Basically the only feature of 32201 not achievable with STM32 is the voltage level required on clock outputs - this may be easily solved with a proper version of 74xxx2G04. The only problem is I had a single NS32016 once back in 1987 and it was lost in action. I can't find any cheap NS32k in China.
SDC_One design may be easily adapted for 32008 or 32016. Using H745 Discovery a a base board we could even get almost a megabyte of RAM for NS32k. I currently get M68k operation equivalent to 1.6 MHz no WS with 120 MHz L4R5, so with 480 MHz H745 the speed should be close to 4 times that - just right for NS32k.
So, I'll get back to the topic when I find some reasonably priced NS32k.
Re: National Semi NS32000 series -- Any interest? [message #7360 is a reply to message #7359] Sun, 29 March 2020 04:42 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
RE: cheap NS32K chips.

Try UTsource.net for under $4 NS32CG16 or NS32CG160. In my poll, folks chose the '160. I don't know if utsource has the 32181 FPU or not. I forget where I got mine.

--John
Re: National Semi NS32000 series -- Any interest? [message #7361 is a reply to message #7360] Sun, 29 March 2020 09:08 Go to previous messageGo to next message
gbm is currently offline  gbm
Messages: 34
Registered: January 2018
Member
Thanks, looks like they have quite interesting retro stock, just wonder how reliable they are (remarking?Wink - probably not an issue for NS32k. After looking at CG16 and CG160 datasheets I decided to go for CG16. CG160 extras are useless for me and CG16 is simply smaller. Anyway, I need to finish my 8086/8/V20 module first, then complete the sub-matchbox-sized 8008 board.
Re: National Semi NS32000 series -- Any interest? [message #7362 is a reply to message #7361] Sun, 29 March 2020 10:38 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
I agree about the CG16 -- it is more like the NS32016. However, trying to keep to the EBC 100mm x 160mm form factor, the CG160 eliminates the '202 ICU. However, I don't think the FPU will fit. But for hacking around, the FPU is not critical, just a challenge to see it work.

The best software looks like the GCC cross compiler (very old; NS32k support was deleted years ago). Bummer that it does not support the module call mechanism. But it looks like a faster route to get s/w up and running.

--John
Re: National Semi NS32000 series -- Any interest? [message #7364 is a reply to message #7362] Sun, 29 March 2020 12:07 Go to previous messageGo to next message
etchedpixels is currently offline  etchedpixels
Messages: 333
Registered: October 2015
Senior Member
I didn't think you needed the ICU anyway - you still get interrupts just not all the fancy extra vectoring. What doesn't seem to be documented anywhere is whether you can use the MMU with the CG16 - presumably not ?
Re: National Semi NS32000 series -- Any interest? [message #7365 is a reply to message #7364] Sun, 29 March 2020 19:11 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
The MMU does not work with the NS OEM chips: CG16, CG160, ...

The ICU also has timers. The NS32082 MMU had problems with the early silicon. I don't know if NS ever ironed out all the bugs.

The good NS32k chip is the 532, but the FPU was never integrated into the CPU. National got into the 32-bit market with too little, too late.

--John
Re: National Semi NS32000 series -- Any interest? [message #7367 is a reply to message #7365] Mon, 30 March 2020 05:06 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

I would be interested in an NS32000 Series board. This sounds very interesting. I'll keep reading.

Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: National Semi NS32000 series -- Any interest? [message #7399 is a reply to message #7367] Thu, 02 April 2020 06:40 Go to previous messageGo to next message
bifo is currently offline  bifo
Messages: 48
Registered: October 2019
Member
I'd be interested. I've been fascinated with these CPUs for a long time.
Re: National Semi NS32000 series -- Any interest? [message #7650 is a reply to message #7336] Thu, 14 May 2020 20:20 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
jcoffman wrote on Fri, 27 March 2020 12:10
Yes, the NS32016 may be used without the MMU. The SETCFG instruction can indicate that it is absent.

Today, I think I would use the NS32CG16 instead of the NS32016: no TCU is needed.

Since I started this thread a couple of weeks ago I have been honing in on a 32000 design:

1. NS32CG160 -- seemed more popular than the NS32CG16.
2. ECB board size.
3. UART in PLCC44 package.
4. IDE interface - 16-bit.
5. 1meg SRAM; 128k ROM.
6. Interfaced to the ECB bus.
7. The FPU just may fit. This is to be determined.

Well, I am serious enough about a 32000 computer that I have a design in for fab. Two compromises had to be made to achieve the above goodies on the board: SRAM is in TSOP-II or SOP-32 packages (50 mil lead spacing). Probably not too hard to solder; and ROM is reduced to a single chip. The latter requires a DYNAMIC bus sizing GAL, and an increase of one chip from 20 pins to 24 pins (74ALS686). The space gained allowed me to tuck in the NS32181 FPU, and an RTC/NVRAM chip.

CAVEAT: These boards will not be available until I know that most of the goodies are working. Serious shortcuts are take for interfacing to the ECB RetroBrew bus, but the board is designed to work entirely STANDALONE. Hence, the information, as far as it goes, is under https://retrobrewcomputers.org/doku.php?id=boards:sbc:ns3200 0

--John

Re: National Semi NS32000 series -- Any interest? [message #7741 is a reply to message #7399] Mon, 01 June 2020 15:19 Go to previous message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
I've had the NS32000 board in my hands for about 3 weeks now. So far, everything is checking out with one exception. I chose the cheapest SRAM at Digikey; bad mistake. I had to replace the low order SRAM chip, with all the extra wires needed to reconnect the damaged traces and pads. Gruesome!

1. CPU is NS32cg160
2. FPU is NS32181
3. 1Mb SRAM, 128k ROM. I'm doing testing with just 64K in a single 28-pin chip.
4. UART is 16C550A or C.
5. RTC and NVRAM with SuperCap backup.
6. Interface to IDE-16, PIO or DMA. (not yet checked)
7. Stand-alone operation; or ECB bus operation. (I'm using the latter)
8. 25Mhz operation with 74LS logic; 15ns Atmel PLDs.

So far, my only regret is having to use the surface mount SRAM to make room for the FPU. I have a ZIF adapter on order so I can test SRAM before soldering.

Link to the Wiki: https://retrobrewcomputers.org/doku.php?id=boards:sbc:ns3200 0:ns32cg160_1.0#details_of_the_board

--John
Previous Topic: DRI Personal Basic 1.1 Reference Manual for CP/M-86 ?
Next Topic: Plasmo's 68k pathfinder projects


Current Time: Mon Mar 17 05:44:56 PDT 2025

Total time taken to generate the page: 0.00770 seconds