DSPRelated.com
Forums

sport comm between adsp2181, bf533

Started by ashr...@rediffmail.com June 1, 2009
hi all
Am trying to implement sport comm between ADSP2181 and BF533.
My aim is to send memory contents of adsp2181 to bf533 memory via sport.

On 2181 i have disabled codec to use sport0. 2181 clock is generated internally.
For bf533 clock is externaland am using sport0 of board.

ADSP2181 transmits and BF533 receives.
First of all which program should run first. Is it ADSP2181 because its the source of clock for bf533.
But if adsp2181 is running first will i not face initial data loss.

Also am using sport0 in non DMA mode. Is the SIC_IMASK reg configuration
needed? should i assign sport interrupts?

I have a doubt whether these are to be configured when sport is used only in DMA mode.
Hello,

Since the BF is the slave (clocks and framing signals generated externally), and the 218x is the master (generates clocks and framing signals), nothing will happen if the BF is configured but the 218x is not. In other ways, you should be sure of having the BF configured first for receiving BEFORE the 218x starts transmitting, otherwise you will loose data (sending with no receiver). Another, safer mechanism is to implement some sort of protocol, on which the 218x will first send a "ping" word, and if the BF responds (can be via SPORT), then the 218x starts to stream your data.

Also, if available, an external flag between them can help you to know when is the BF ready to receive.

Regards.


Jaime Andr Aranguren Cardona
j...@ieee.org
j...@computer.org

________________________________
From: "a...@rediffmail.com"
To: a...
Sent: Monday, June 1, 2009 5:41:33 PM
Subject: [adsp] sport comm between adsp2181, bf533

hi all
Am trying to implement sport comm between ADSP2181 and BF533.
My aim is to send memory contents of adsp2181 to bf533 memory via sport.

On 2181 i have disabled codec to use sport0. 2181 clock is generated internally.
For bf533 clock is externaland am using sport0 of board.

ADSP2181 transmits and BF533 receives.
First of all which program should run first. Is it ADSP2181 because its the source of clock for bf533.
But if adsp2181 is running first will i not face initial data loss.

Also am using sport0 in non DMA mode. Is the SIC_IMASK reg configuration
needed? should i assign sport interrupts?

I have a doubt whether these are to be configured when sport is used only in DMA mode.