Hello,
We found the error. The spi speed was too high. After we lowered the spi 
speed to 3 Mhz everything worked fine. We think the data hold time t_2 
is just too short with 10ns.
best regards
Christian

Christian Rusch schrieb:
> Hello Dimitry,
> 
> we are using an Atmel ngw100 develepmonent-board, which is connected to
> the at86rf231. The driver is installed.
> 
> Unfortunately we are having some trouble with our spi. The man_id the
> driver is asking for is not received correctly. We checked it out and
> found out that the first byte of the register is not correct and changes
> every time it is requested.
> 
> first try we probed at86rf230-driver we get the following error_messages
>     at86rf320 spi0.2: Non Atmel device found (MAN_ID80 1f)
> second try, this error message
>     probe of spi0.2 failed with error -22
> The third try normally works, which means the driver probes.
>     at86rf230 spi0.2: Detected at86rf231 chip version 2
>     at86rf230 spi0.2: Status: 00
>     at86rf230 spi0.2: Status: 88
>     at86rf230 spi0.2: Status: 09
>     at86rf230 spi0.2: registered at86rf230
> 
> In our setup-file of our ngw100, we chose the following options:
> 
>     .max_speed_hz = 4000000,
>     .mode          = SPI_MODE_0,
> 
> We are clueless, does anyone know what to do?
> Thanks
> 
> Christian
> 
> 
> 
> Dmitry Eremin-Solenikov schrieb:
>> On Thu, Feb 4, 2010 at 1:21 PM, Christian Rusch
>> <christian.rusch-lxgablcvjitn68ojjulu0q-xmd5yjdbdmrexy1tmh2...@public.gmane.org>
>>  wrote:
>>> Hi,
>>> Using the patch from http://patchwork.kernel.org/patch/27223/ I
>>> integrated the at86rf230 driver, but it does not compile for me.
>> Please use the devel branch of our git tree. at86rf230 depends on the
>> softmac part
>> of the stack which isn't integrated into mainline kernel.
>>
> 
> Dmitry Eremin-Solenikov schrieb:
>> On Thu, Feb 4, 2010 at 1:21 PM, Christian Rusch
>> <[email protected]> wrote:
>>   
>>> Hi,
>>> Using the patch from http://patchwork.kernel.org/patch/27223/ I
>>> integrated the at86rf230 driver, but it does not compile for me.
>>>     
>> Please use the devel branch of our git tree. at86rf230 depends on the
>> softmac part
>> of the stack which isn't integrated into mainline kernel.
>>
>>   
> 
> 




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linux-zigbee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to