Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Analog Devices DSPs | Bus Lock in TS201

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Bus Lock in TS201 - Berkant - Aug 24 16:57:34 2007



Hi

I am trying to build a multiprocessor interface  for TS201 processor using shared memory. To
satify mutual exclusion of resources used by all processor, I need to use bus lock feature of
TS201 processor. But I have an intersting observation while developing this interface:
1- assume that P0 has already locked the bus
2- P1 tries to lock bus and therefore sets buslk active bit 
3- P0 releases bus
4- bus lock interrupt is received by P1

At step 4, I expect that P1 should be bus master but this not the case for all the time. Even
if P1 receives buslk interrupt, P0 is seen as bus master in SYSSTAT register, and then after a
very short time period polling of SYSTAT register, P1 becomes bus master as expected.

What sould be the possibe cause of this problem?
Not: This problem is observed in EZKIT for TS201
Berkant AKIN
www.berkantakin.com


(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Bus Lock in TS201 - Satish Godbole - Aug 30 3:41:24 2007

Hello Berkant,

When BUSLK is set, the bus is locked by the requesting processor and buslock interrupt is
received.
This may not be immediately giving control of the bus to requesting processor.
The current master completes all its pending transactions ( transactions that have begun
executing on the cluster bus) 
before relinquishing the bus. 

You need to always check whether the requesting processor has got the mastership by using IF BM
instruction.

Satish Godbole

  ----- Original Message ----- 
  From: Berkant 
  To: a...@yahoogroups.com 
  Sent: Saturday, August 25, 2007 2:14 AM
  Subject: [adsp] Bus Lock in TS201

  Hi

  I am trying to build a multiprocessor interface  for TS201 processor using shared memory. To
satify mutual exclusion of resources used by all processor, I need to use bus lock feature of
TS201 processor. But I have an intersting observation while developing this interface:

  1- assume that P0 has already locked the bus

  2- P1 tries to lock bus and therefore sets buslk active bit 

  3- P0 releases bus

  4- bus lock interrupt is received by P1

  At step 4, I expect that P1 should be bus master but this not the case for all the time. Even
if P1 receives buslk interrupt, P0 is seen as bus master in SYSSTAT register, and then after a
very short time period polling of SYSTAT register, P1 becomes bus master as expected.

  What sould be the possibe cause of this problem?

  Not: This problem is observed in EZKIT for TS201

  Berkant AKIN

  www.berkantakin.com
   


(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )