Re: ping6 doesn't use at86rf230 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2015-07-01 10:21 GMT+02:00 Alexander Aring <alex.aring@xxxxxxxxx>:
> Hi,
>
> On Tue, Jun 30, 2015 at 11:12:36AM +0200, Baptiste Clenet wrote:
> ....
>>
>> root@OpenWrt:/# dmesg | grep at86rf230
>> [   94.820000] at86rf230 spi32766.1: Detected at86rf212 chip version 3
>> [   94.830000] at86rf230 spi32766.1: unexcept state change from 0x00
>> to 0x08. Actual state: 0x00
>>
>> It detects the chip but yes definitely, there is problem to read the state.
>> Will check the pins
>>
>
> if you have debugfs support and mounted it, then you could dump all
> register settings by doing something similar like:
>
> cat /sys/kernel/debug/regmap/spi1.0/registers
>
> result would be some $REGISTER <-> $VALUE mapping.
>
> Note:
>
> One interface of the 802.15.4 phy should be up for this development method,
> because the transceiver isn't in sleep mode then.
>
> - Alex

The mapping:

root@OpenWrt:/# cat /sys/kernel/debug/regmap/spi32766.1/registers
01: 16
02: f6
03: 10
04: 20
05: 60
06: 80
07: 2c
08: 25
09: 77
0a: 17
0b: a7
0c: a4
0d: 01
0e: 08
10: 44
11: a2
12: f0
15: 00
17: 00
18: 50
1a: 47
1b: 54
1c: 07
1d: 03
1e: 1f
1f: 00
20: ff
21: ff
22: ef
23: be
24: 05
25: 45
26: 92
27: 92
28: 1e
29: 52
2a: e4
2b: d0
2c: 38
2d: 98
2e: 42
2f: 53


-- 
Baptiste
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux