AT91SAM7S64 SPI question



Hi,
I'm trying to read data from a Maxim MAX1231 ADC (slave) with the
AT91SAM7S64 (master).

Problem:
The Maxim chip buffers the data from it's acquisition in a FIFO. It
sends the data out Dout (MISO) a byte at a time triggered on (I
believe) the chip selects (NPS0 is the particular SPI chip select I'm
using).

I don't know how to do this since the AT91SAM7S64 SPI expects to
receive data in on MISO during it's transmission on MOSI. I'm using
the conversion command to trigger the acquistion on the ADC, i.e.
"clock mode 10".

So, I need to use PDC right? That is, AT91F_SPI_ReceiveFrame()? Can
AT91F_SPI_ReceiveFrame() be used without using AT91F_SPI_SendFrame()?
I would think so. Does the PDC process use the configured chip select
to receive data (AT91SAM7S64 SPI is configured for 8-bits packets) on
MISO?

Thanks for any help, I'm a newbie feeling like I'm in over my head.
Next I've got to tackle USB to offload the data from my board (CDC
class mode to a Linux board).

Regards,
Victor

.



Relevant Pages

  • about acquisition
    ... I have few questions about signal acquisition. ... of one chip or half a chip? ... If increments are 1 chip then is it correct to say that it would take ... Also books refer to the advancement or retarding of clock. ...
    (sci.geo.satellite-nav)
  • Re: Audio uC Development Board
    ... Apart from "It seems to be a really nice chip"? ... The only real documentation I found was the datasheet (most similar ... The device is mising the usual ARM vectored interrupt controller, ... No DMA, so the 1MHz ADC will need to use the FIQ, and some pretty ...
    (sci.electronics.design)
  • Re: Anybody built a DAC kit?
    ... Crystal Semiconductors evaluation board. ... them also for their DAC chips. ... what was your receiver chip and what ... the CS5335 ADC board about 7 years ago when I got my ...
    (uk.rec.audio)
  • Re: Anybody built a DAC kit?
    ... complete ADC or DAC on a board, with DIP switches for setting it up. ... what was your receiver chip and what was the DAC chip? ... want and see if they do an evaluation board. ... As to sound, I compared it with one commercial unit, the Lindos LSC24 ...
    (uk.rec.audio)
  • Re: Anybody built a DAC kit?
    ... They do them also for their DAC chips. ... complete ADC or DAC on a board, with DIP switches for setting it up. ... what was your receiver chip and what was the DAC chip? ... As to sound, I compared it with one commercial unit, the Lindos LSC24 ...
    (uk.rec.audio)