2008-03-20 17:03:14     Wifi on BF548-ezkit

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2008-03-20 17:03:14     Wifi on BF548-ezkit

Nick Moszer (UNITED STATES)

Message: 52857    Hello,

 

I was wondering if anyone has gotten non-usb wifi to work on a BF548-ezkit or with a BF548/BF549 in general.

I'm currently working on getting an SDIO wifi card to work with this board.

 

Thanks!

 

 

 

 

QuoteReplyEditDelete

 

 

2008-03-20 17:39:37     Re: Wifi on BF548-ezkit

Mike Frysinger (UNITED STATES)

Message: 52860    in the past we've tested wireless over SPI and CF, but i dont think we've tested over the SD port yet

QuoteReplyEditDelete

 

 

2008-03-20 23:00:51     Re: Wifi on BF548-ezkit

hua zhu (CHINA)

Message: 52863   

 

we've tested both connexant and marvell wifi modules on SPI port, but due to the significant SPI DMA bug, DMA can't be used , and data transfer(1.5Mbps) brings too heavy burn on blackfin processor that blocks others tasks. so wifi performance over SPI/SDIO will not be acceptable before this SPI DMA bug removed.

 

maybe USB 2.0 interface could bring hope.

QuoteReplyEditDelete

 

 

2008-03-21 00:16:58     Re: Wifi on BF548-ezkit

Robin Getz (UNITED STATES)

Message: 52865    Hua:

 

SPI != SDIO

 

SPI will stink. SDIO should be OK. We are thinking about writing a SPI framework driver for the SPORT (for devices like WiFi) which don't have the same issues as the existing SPI hardware.

 

-Robin

QuoteReplyEditDelete

 

 

2008-03-21 00:36:48     Re: Wifi on BF548-ezkit

hua zhu (CHINA)

Message: 52867   

 

oh, that sounds great if DMA may work up, but could this solve the SPORT clock misallignment problem?

 

 

QuoteReplyEditDelete

 

 

2008-03-21 03:16:10     Re: Wifi on BF548-ezkit

Kris Dickie (CANADA)

Message: 52872    For the project we are working on, we would also like to use Wifi over SDIO, so I am looking forward to seeing some more developments in this area as well. Thanks.

QuoteReplyEditDelete

 

 

2008-03-22 20:17:05     Re: Wifi on BF548-ezkit

Dominik Herwald (GERMANY)

Message: 52930    Using a SPORT for SPI would be just great!  =)

I think this would be a very very useful feature for many projects.

 

Other question:

*If* the mentioned SPI DMA bug would be resolved, would this solve the major

performance problems or is the SPI Hardware too limited in general?

 

 

TranslateQuoteReplyEditDelete

 

 

2008-03-23 22:30:47     Re: Wifi on BF548-ezkit

Andrew Ray (CHINA)

Message: 52951    SPI DMA can't be used for marvell wifi?I think you make some mistake,it work well for our board(bf536).

QuoteReplyEditDelete

 

 

2008-03-24 00:42:09     Re: Wifi on BF548-ezkit

浩 何 (CHINA)

Message: 52952   

 

hi: andrew ray

 

I am working at plant wifi(driver) to my bf536 board through spi port

 

but it can't work at all

 

can you give me a example of how to send message to wifi module and how to read the data on SPI_RDBR

 

thanks! my e_mail is hehao3344@126.com

 

thank you!! 

TranslateQuoteReplyEditDelete

 

 

2008-03-24 07:12:44     Re: Wifi on BF548-ezkit

Robin Getz (UNITED STATES)

Message: 52964    Andrew:

 

I think it depends...

 

If you are writing a specific driver for SPI/Wifi or using the standard Linux SPI infrastructure.

 

If you are writing a mondo blob for SPI/Wifi it may work, but we don't normally do this since it is not scalable.

 

-Robin

QuoteReplyEditDelete

 

 

2008-03-24 07:18:54     Re: Wifi on BF548-ezkit

Dominik Herwald (GERMANY)

Message: 52965    Andrew,

 

do you use standard Linux SPI Drivers or something different?

Do you have other devices on the same SPI Bus?

 

Regards,

Dominik

TranslateQuoteReplyEditDelete

 

 

2008-03-24 07:21:28     Re: Wifi on BF548-ezkit

Robin Getz (UNITED STATES)

Message: 52966    Dominik:

 

It is not really a SPI DMA bug - the SPI hardware only supports simplex DMA (Rx or Tx) - many devices want both.

 

Many devices are sensitive to exactly how many bytes are transfered in/out - it is difficult to control this with the SPI/DMA hardware today.

 

It really has nothing to do with software.

 

-Robin

QuoteReplyEditDelete

 

 

2008-03-24 07:51:24     Re: Wifi on BF548-ezkit

Dominik Herwald (GERMANY)

Message: 52969    Robin,

 

OK I see.

 

Back to SPORT-SPI again:

Do you want to use some method like this:

http://www.analog.com/UploadedFiles/Application_Notes/35189297889832EE_304_Blackfin.pdf

(with TFSx connected to the CS Signal?)

 

Otherwise there is some external glue logic required to make the SPORT act as SPI, but of course this would be no problem for most applications:

http://www.dsprelated.com/showmessage/15769/1.php

 

 

Regards,

Dominik

 

 

TranslateQuoteReplyEditDelete

 

 

2008-03-24 10:25:06     Re: Wifi on BF548-ezkit

Nick Moszer (UNITED STATES)

Message: 52973    Thanks for all the replies guys..

 

So far I've pretty much narrowed this down to either an Atheros 6k or a Marvell chip.  The Atheros has a driver from the openmoko guys that is still in development.  The Marvell chip is supposed to have drivers in the kernel (2.6.24) from (I think) the OLPC project.

 

When (if) I get something working I'll pass along how it's done.

 

Thanks!

QuoteReplyEditDelete

 

 

2008-03-25 02:20:38     Re: Wifi on BF548-ezkit

Andrew Ray (CHINA)

Message: 52989   

 

Dominik,

 

    I write the own SPI driver, not  standard Linux SPI drivers.By the way, I just test the marvell wifi modules for our board, not share the SPI Bus for other devices.

QuoteReplyEditDelete

 

 

2008-03-25 03:26:42     回复: Re: Wifi on BF548-ezkit

浩 何 (CHINA)

Message: 52991   

 

hello:

 

Andrew Ray

 

my board is bf537 and my wifi module is marvell 8686

 

please tell my how to probe the wi-fi device and how to read/write the spi

 

i have word for a long time on this project

 

my email is hehao3344@126.com please

 

thank you !!!

TranslateQuoteReplyEditDelete

 

 

2008-11-21 00:58:29     Re: 回复: Re: Wifi on BF548-ezkit

Adam Harriman (UNITED STATES)

Message: 65644   

 

This company has a module that was tested at over 12MB/sec.

 

 

 

http://www.sagrad.com/products/802.11/diamondback/

 

 

 

There is an GPL version of the hardware interface that allows custom protocal development or integration into GPL based 802.11 stacks.

 

 

 

There is a licensed version fo the code that was tested on the BF successfully.  The host loading was  high at max throughput.

 

 

 

The company may still have some adaptor boards available that plug into the back of the BF EVK.

 

 

 

Adam

 

SG901-1028 Diamondback R7.1 (2).pdf

QuoteReplyEditDelete

 

 

2008-12-04 02:26:24     Re: Wifi on BF548-ezkit

dillon hua (CHINA)

Message: 66271   

 

hi he hao:

 

 

 

  have you resolve the wifi issue,in our application,we use wifi to transfer video data to outside ,so we just use dma write function

 

 

QuoteReplyEditDelete

 

 

2008-12-04 05:04:59     Re: Wifi on BF548-ezkit

Yi Li (CHINA)

Message: 66341   

 

Dillon,

 

We've made update to SPI dma funtions in spi_bf5xx.c in SVN trunk. Maybe you can have a try.

 

Also we've tested a SDIO/Wifi module on BF548. The SDIO/Wifi driver patch has been checked into SVN trunk at uclinux-dist/bfin_patch/sdio_wifi_patch/. Please follow the README to run the driver. Due to kernel upgrading, the driver cannot work with latest mainline linux kernel for now. But it has been tested on SVN trunk kernel.

 

-Yi

Outcomes