[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Interrupt on parallel port in manual mode?


The ETRAX 100LX also has a synchronous serial port
which is more suitable for SPI. In fact it can handle
SPI entirely in hardware. The existing synchronous
serial port is not really tested for SPI but I know
of at least a couple of customers who runs SPI with
some modifications of the driver.

In theory you can change the data on the parallel
port with 50 MHz but with code written in C you
get something like 6 MHz.

I'm not sure that you can get an peri interrupt in
manual mode (I can look it up). Otherwise you can
connect it to a pin on general port A or to the 
IRQ pin.

How often would you get an interrupt from the device?


-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com
To: dev-etrax
Sent: 2002-04-19 16:06
Subject: Interrupt on parallel port in manual mode?


We're trying to interface an VLSI vs1001k MP3 decoder by bit banging the
parallel port in manual mode. The vs1001k uses SPI protocol for
communication, hence the bit banging. As soon as the internal buffer of
the decoder can accept new data it sets a DATA READY pin which we would
like to connect to an interrupt (par0_peri). Is this possible?

How fast can you change the state of the pins on the parallel port?

Anders Hasselqvist