Post Created date
Atmel Lightweight Mesh stack
This "solution" is just a temporary hack, but it seems to do the trick.
Thursday, 25 April 2013 - 17:12
Atmel Lightweight Mesh stack
Hi Alex, here is a fix I have for now, it seems to be working but I need to run the test over the course of several hours to make sure it's completely stable: static inline...
Thursday, 25 April 2013 - 17:11
Atmel Lightweight Mesh stack
Alex, in this ISR in the stack: ISR(TRX24_RX_END_vect) { TRX_STATE_REG = TRX_CMD_PLL_ON; // Don't wait for this to complete phyRxRssi = (int8_t)PHY_ED_LEVEL_REG; phyRxSize...
Thursday, 25 April 2013 - 15:06
Atmel Lightweight Mesh stack
Hi Alex, I switched the CPU clock to run off the transceiver clock, and I tried a different PCB for the device getting stuck. The problem still persists, it transmits several...
Wednesday, 24 April 2013 - 20:22
Atmel Lightweight Mesh stack
It hangs in the same spot, the second check. Can you clarify what you mean by the 16 MHz clock? Are you saying if there are noise issues on that clock the system will appear to...
Wednesday, 24 April 2013 - 20:07
Atmel Lightweight Mesh stack
alexru wrote:What frequency your MCU is running at? I'd start from checking that FORCE_TRX_OFF has finished: TRX_STATE_REG = TRX_CMD_FORCE_TRX_OFF; while (TRX_STATUS_TRX_OFF...
Wednesday, 24 April 2013 - 19:41
Atmel Lightweight Mesh stack
That makes sense. I'm wondering if my application code is causing this, but as you say, you've never seen this problem before. What's interesting is I'm running a similar...
Wednesday, 24 April 2013 - 19:11
Atmel Lightweight Mesh stack
Thanks Alex. The frequency is 8 MHz, I'm running off the internal RC clock for the CPU. One thing to note is that I have several ISRs running in addition to the stack, Timer1,...
Wednesday, 24 April 2013 - 18:48
Atmel Lightweight Mesh stack
Hi Alex, TRX_STATUS_REG_s.trxStatus is set to 9 (TRX_STATUS_PLL_ON?) when it's stuck in the while loop.
Wednesday, 24 April 2013 - 14:55
Atmel Lightweight Mesh stack
Going through the stack, it's not clear where the variable TRX_STATUS_REG_s is being assigned? It's used in conditional statements in a few places, but I can't find where it's...
Tuesday, 23 April 2013 - 20:50
Atmel Lightweight Mesh stack
Alex, I have a new issue with the LightWeight Mesh stack getting stuck again, just my luck :-). It is quite random, but it can run fine for a few thousand packet transmissions,...
Tuesday, 23 April 2013 - 19:57
Atmel Lightweight Mesh stack
sofakingdom wrote:Hello Alex, Now I am trying to setup Lightweight Mesh with RS-485 (Half Duplex). I am using an RS-485 breakout board to achieve this, but it must be triggered...
Tuesday, 23 April 2013 - 17:45

Pages