Re: STA013 problem



eeh wrote:

> Thanks for your reply.
>
> For the sta013, the I2C bus is ued to configure the chip and the SPI
> interface (Pins 5,6,7) is used to stream the mp3 data into it. I used
> normal IO port to push data so that I need to swap bits before
> serialize into the STA013.
>
> 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.:)

Oh - quick follow up. I searched both the data and app note for a mention
of SPI. Zero hits.

STM calls the input " SERIAL BITSTREAM INPUT INTERFACE " which makes a
hell of a lot more sense to me.

See Figure 6. Serial Input Interface Clocks on the data ***. Doesn't
look like SPI to me - could be wrong I guess. Nahhh I'm sure SPI doesn't
need that many pins for unidirectional data.

data_req is *telling you* it's not receiving the audio data. That's why
it's stuck. I'm convinced you're trying to talk to the chip using the
wrong protocol.

Graham


.