Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
* at86rf212B 868Mhz
@ 2016-03-22 18:48 Baptiste Clenet
  2016-03-23  9:20 ` Stefan Schmidt
  0 siblings, 1 reply; 5+ messages in thread
From: Baptiste Clenet @ 2016-03-22 18:48 UTC (permalink / raw)
  To: linux-wpan

Hi,

I've got two devices with a at86rf212B onboard: device A (ohter OS
with at86rf212b driver) sending frame to device B  (running on Kernel
4.1 with the at86rf230 driver)
Both has got a 868MHz antenna.
Case 1: I set channel to 5 and page to 0 (914MHz according to
datasheet) to both of them, it works fine, I can receive and send
frames.
Case 2: I set channel to 0 and page to 0 (868MHz according to
dataheet) and I can't receive or send any frames.

Alexander, have you already tried to run on 868MHz?

Cheers,

-- 
Baptiste

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: at86rf212B 868Mhz
  2016-03-22 18:48 at86rf212B 868Mhz Baptiste Clenet
@ 2016-03-23  9:20 ` Stefan Schmidt
  2016-03-24  8:04   ` Baptiste Clenet
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Schmidt @ 2016-03-23  9:20 UTC (permalink / raw)
  To: Baptiste Clenet, linux-wpan

Hello.

On 22/03/16 19:48, Baptiste Clenet wrote:
> Hi,
>
> I've got two devices with a at86rf212B onboard: device A (ohter OS
> with at86rf212b driver) sending frame to device B  (running on Kernel
> 4.1 with the at86rf230 driver)
> Both has got a 868MHz antenna.
> Case 1: I set channel to 5 and page to 0 (914MHz according to
> datasheet) to both of them, it works fine, I can receive and send
> frames.
> Case 2: I set channel to 0 and page to 0 (868MHz according to
> dataheet) and I can't receive or send any frames.
>
> Alexander, have you already tried to run on 868MHz?
>

I'm not Alex but I can tell you that neither he or myself have 868 MHz 
capable hardware so we never have been able to test that on our side.

There could still be a bug in the driver or the iwpan page/channel 
setting somewhere. Printing out the values you get in the kernel (first 
the ones you get over netlink from iwpan and second the ones being set 
into the register) might give you a first clue if they actually compare 
to what the chip expects.

regards
Stefan Schmidt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: at86rf212B 868Mhz
  2016-03-23  9:20 ` Stefan Schmidt
@ 2016-03-24  8:04   ` Baptiste Clenet
  2016-03-24  8:19     ` Alexander Aring
  0 siblings, 1 reply; 5+ messages in thread
From: Baptiste Clenet @ 2016-03-24  8:04 UTC (permalink / raw)
  To: Stefan Schmidt; +Cc: linux-wpan

Thanks Stefan, Ok so my tests show that it doesn't work for the
moment. I may go on Kernel 4.3 if you made any changes on this.


2016-03-23 10:20 GMT+01:00 Stefan Schmidt <stefan@osg.samsung.com>:
> Hello.
>
> On 22/03/16 19:48, Baptiste Clenet wrote:
>>
>> Hi,
>>
>> I've got two devices with a at86rf212B onboard: device A (ohter OS
>> with at86rf212b driver) sending frame to device B  (running on Kernel
>> 4.1 with the at86rf230 driver)
>> Both has got a 868MHz antenna.
>> Case 1: I set channel to 5 and page to 0 (914MHz according to
>> datasheet) to both of them, it works fine, I can receive and send
>> frames.
>> Case 2: I set channel to 0 and page to 0 (868MHz according to
>> dataheet) and I can't receive or send any frames.
>>
>> Alexander, have you already tried to run on 868MHz?
>>
>
> I'm not Alex but I can tell you that neither he or myself have 868 MHz
> capable hardware so we never have been able to test that on our side.
>
> There could still be a bug in the driver or the iwpan page/channel setting
> somewhere. Printing out the values you get in the kernel (first the ones you
> get over netlink from iwpan and second the ones being set into the register)
> might give you a first clue if they actually compare to what the chip
> expects.
>
> regards
> Stefan Schmidt



-- 
Baptiste

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: at86rf212B 868Mhz
  2016-03-24  8:04   ` Baptiste Clenet
@ 2016-03-24  8:19     ` Alexander Aring
  2016-03-30  8:47       ` Stefan Schmidt
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Aring @ 2016-03-24  8:19 UTC (permalink / raw)
  To: Baptiste Clenet; +Cc: Stefan Schmidt, linux-wpan

Hi,

On Thu, Mar 24, 2016 at 09:04:43AM +0100, Baptiste Clenet wrote:
> Thanks Stefan, Ok so my tests show that it doesn't work for the
> moment. I may go on Kernel 4.3 if you made any changes on this.
> 

please check if the registers for page 0 channel 0 are set correctly.
You can dump the registers with:

cat /sys/kernel/debug/regmap/spi32766.0/registers

"spi32766.0" maybe different on your board.

- Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: at86rf212B 868Mhz
  2016-03-24  8:19     ` Alexander Aring
@ 2016-03-30  8:47       ` Stefan Schmidt
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Schmidt @ 2016-03-30  8:47 UTC (permalink / raw)
  To: Alexander Aring, Baptiste Clenet; +Cc: linux-wpan

Hello.

On 24/03/16 09:19, Alexander Aring wrote:
> Hi,
>
> On Thu, Mar 24, 2016 at 09:04:43AM +0100, Baptiste Clenet wrote:
>> Thanks Stefan, Ok so my tests show that it doesn't work for the
>> moment. I may go on Kernel 4.3 if you made any changes on this.
>>
> please check if the registers for page 0 channel 0 are set correctly.
> You can dump the registers with:
>
> cat /sys/kernel/debug/regmap/spi32766.0/registers
>
> "spi32766.0" maybe different on your board.
>

Baptiste, have you been able to debug this further? Comparing the 
register content and see if they are correct?

regards
Stefan Schmidt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-30  8:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-22 18:48 at86rf212B 868Mhz Baptiste Clenet
2016-03-23  9:20 ` Stefan Schmidt
2016-03-24  8:04   ` Baptiste Clenet
2016-03-24  8:19     ` Alexander Aring
2016-03-30  8:47       ` Stefan Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox