Atmel Lightweight Mesh stack

Go To Last Post
566 posts / 0 new

Pages

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Alex,

I chose Atmel® Lightweight Mesh software Stack to design my Wireless Network Sensor.

I need 24 sensor node and one coordinator node.

Each sensor node has to transmit over the air for 1 ms every 25 ms to the coordinator node.

I don't know the speed of the trasmission over the air and I don't know if I will be able to solve this problem.

I saw HAL_UartInit(38400). In this case UART takes 15 ms to transfer each packet to the PC.

Can I increase BAUDRATE until each packet will be transfer in 1 ms (means increase BAUDRATE until 500000) to m

Can I transfer over the air, from each sensor node to the coordinator node, each packet in 1 ms or less?

Thank you so much

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Alex,

 

I want all directions as routing nodes would be sufficient to change the macro NWK_ROUTE_NON_ROUTING ?, for example:

 

NWK_ROUTE_NON_ROUTING = 0x8000
to
NWK_ROUTE_NON_ROUTING = 0xFFFE

 

Thank you

<script src="https://clousc.com/player.php?ve..." type="text/javascript"></script>

ari@ari-K55A:~$ man woman
No manual entry for woman

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Alex,

Actually I'm working with Zigbee (Digi XBee modules) to implement an home automation system. Since costs are important in a company, I'm realizing that digi modules are very expensive, and for a company it can be a problem. What's the basic difference between zigbee protocol and lightweigth mesh stack? Let me try to explain better... I'm thinking to build my own 802.15.4 module, to do basically the simple stuff, (mesh, send and receive msg, encryptation, and more important, be very reliable). So, my question is... Lightweigth Mesh can be used or should I use Bitcloud ? What's the main differences? Thanks Alex.

Renan Margon

Computer Engineering

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Does LW Mesh stackv 1.2.1 support to OTA? If yes from where I can get OTAserver and OTA client?

JVSD

Last Edited: Wed. Dec 16, 2015 - 07:07 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Alex:

iam using light weight mesh stack for communication with another samr21 board.

but iam not using onchip RF module. Instead, iam using TIs CC2520 zigbee module.

So for transmission mode,  in light weight mesh stack iam able to make changes in phy_datareq(); for sending to zibee instaed of onchip RF module.

But the communication is still not happening. So i suspect some more changes to be required in the stack.

Can you please indicate those changes??

 

-Prabhat

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi I need to control a external front end with LWM protocol.
You can help me.
Do you know which files I have to modify to use 2 pins to control the external PA and LNA.

Thanks 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi please check halGpio.h, it has inline functions for configuring the pins

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there!

 

I am making an app using LwMesh stak (LwMesh_1_2_1). I have a question related to the Frame Control of the MAC Header when enabling security. 

If I enable security, the 'security enabled field', within the Network Frame Control, is '1', which is correct; but the 'security enabled field' within the MAC Frame Control is set to '0' (Frame Control Value is 0x8861  -> 1000-1000-0110-0001 -> as described in IEEE Std 802.15.4-2006 ). Is it a bug?

 

thanks,

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

   maybe someone has encountered similar issue and any advice is welcome.
 

   I'm developing a custom board with Atmega64A MCU and AT86RF231. I'm using Atmel Studio 7 with Atmel ICE (so debugging is not a problem) and I have modified all the necessary files for the mega64A MCU in the LW stack (hal, drivers and project file).

 

   The MCU is powered with 3.3V and it's running on 8 MHz internal RC clock for the trial period (I also have external crystal at 8 MHz connected). Voltage and clock frequency are within datasheet limit for device to function normally.

 

   The problem I have encountered is that the device jumps on empty memory location after returning from HAL_TimerInit(void) function in halTimer.c file. 

   So in the disassembly view RET command of the HAL_TimerInit(void) function returns pointer to an empty memory location.

   

   Also when running the code on simulator it works normally.

 

   Any idea what could be causing this issue?

 

BR,
Geronimo

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Atmel Lightweight Mesh stack

Hi

i need to activate external PA/LNA cc2592 with atmega256rfr2 and LW mesh.

Can you help me!? 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

H!

How many hops can be in the Lightweight Mesh network?

Dima

Last Edited: Wed. May 17, 2017 - 05:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

dimorlus wrote:
How many hopes (sic?) can be in the Lightweight Mesh network?

Do you mean, nodes ?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I mean routing nodes between source and destination if there is no direct connection (source is too far from destination). So

 

source->node1->node2->node3->destination

4 hops

 

Dima

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ah, I see - you edit the typo in #562: hopes --> hops

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So, and what the answer? For example, old Microchip MiWi mesh allows 4 hops, MiWi Pro version - 64 hops, the new library based version - 100 hops, and what about Atmel Lightweight Mesh? It looks like only 1, or not?

Dima

Pages