Re: STA013 problem




eeh wrote:

> Thanks for your reply.
>
> For the sta013, the I2C bus is ued to configure the chip

Yes.

> and the SPI
> interface (Pins 5,6,7) is used to stream the mp3 data into it.

Unless I don't get it - that's not what I call an SPI interface.

That'll also explain why the sta013 isn't outputting any audio data.

> I used
> normal IO port to push data so that I need to swap bits before
> serialize into the STA013.

I don't understand what you're saying there. What exactly is the source of
the mp3 compressed data ?

What kind of 'normal I/O' ? I'd call 8 bit parallel about as normal as it
gets but even Intel and Motorola couldn't agree on read and write
strobes.. All the serial formats ( which it is ) are a bit quirky.


> The I2C interface is indeed OK as it returns correct chip ID, and so I
> think it is OK. I think I should say it more firmly.:)

Ok.

Look at the transfer protocol for that SDI ( not SPI ) input ! I think
that's your problem.

Graham


.



Relevant Pages

  • [PATCH/RFC 1/2] simple SPI controller implementation on PXA2xx SSP port
    ... This is a prototype interrupt driven SPI "controller" for Intel's PXA2xx ... The driver is built around a spi_message fifo serviced by two tasklets. ... Per transfer chip select and delay control is available. ... +struct transfer_state { ...
    (Linux-Kernel)
  • Re: bit banged Basic52 code for 4-wire serial interface
    ... I have the Max chip for driving LED's prototyping on ... C-code, assembly code, basic code for which basic compiler. ... There is tons of examples of software SPI code for PICs all over the net. ...
    (sci.electronics.design)
  • PXA2xx SPI controller updated for 2.6.16-rc1?
    ... Do you have a version of the PXA2xx SPI contoller driver more recent ... I've attached my attempt (PIO works but DMA doesn't) if it's of any use. ... I'm currently using SSP3 on the PXA27x with the slave chip select GPIO ... It looks like you're waiting for the transmit buffer in the controller ...
    (Linux-Kernel)
  • Re: bit banged Basic52 code for 4-wire serial interface
    ... I have the Max chip for driving LED's ... C-code, assembly code, basic code for which basic compiler. ... code for prototyping the MAX6969 circuitry first. ... There is tons of examples of software SPI code for PICs all over the net. ...
    (sci.electronics.design)
  • Re: adding USB Flash feature to existing product (Vinculum? experience?)
    ... and because the SPI interface would allow it to bolt on. ... SRAM-like) which would would not allow retrofit but would give more flexibility and hopefully be cheaper and faster. ... Anyone have experience of this approach with suggestions for a host controller chip and the difficulty of driving it? ... The current SD Card incarnation can do file copy at ~70Kbyte/sec. ...
    (comp.arch.embedded)