[net.micro] Zilog 8530 information wanted

stkr@enea.UUCP (Stefan Kristensson) (12/19/84)

I am developing software for a board equipped with the Zilog 8530 Serial
Communications Controller. The chip is rather complex to set up and program
and as expected I do have problems to get it to work correct and stabile.

I am currently using AMD and Zilog chips. The CPU is Intel 80186 and I am
not using DMA currently but I plan to do so. The communication links are
standard asynchronous RS232 9600 Baud and synchronous X.21 2400 Baud.

Maybe someone out there have some hints or application notes and is willing
to share them to me.

phil@amdcad.UUCP (Phil Ngai) (12/24/84)

I have a few hints for you.

1) Read the technical manual. Then read it again. It took me about five
readings to become proficient. The latest Zilog one is the best version.

2) Zilog has an app note on initializing the 8530 and I recommend it.

3) Beware the cycle recovery time when doing DMA, you must provide
it somehow. You can withhold either RD/WR or CE, either one qualifies
although this is not clear in the documentation but was derived from
looking at the schematics of the 8530.

4) It is possible to do vectored interrupts but you will have to provide
wait states in some cases, depending on the speed of your 80186 and 8530.

5) You will almost certainly have to provide wait states in the read
and write cycles but the 80186 can do this. Applying the 80186
read and write lines will violate the 8530 address set up times,
you must delay them.

6) (a simple point but some people get burned) Remember to use
a clock 16 times your actual data rate in async mode.

7) you can actually use a time constant of 0 in the baud rate
generator.

Naturally, I think you should use AMD AmZ8530s.
-- 
 AMD assumes no responsibility for anything I may say here.

 Phil Ngai (408) 749-5790
 UUCP: {ucbvax,decwrl,ihnp4,allegra}!amdcad!phil
 ARPA: amdcad!phil@decwrl.ARPA