Regd:BeeStack

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Regd:BeeStack

6,022 Views
rs
Contributor I
Hi,
I have downloaded the new evaluation BeeStack from freescale. I tried to work on WirelessUART example by creating two projects: coordinator and router. I have downloaded those projects onto two NCB boards. I could form a network and was able to shift between two modes: Config mode and application mode. When I tried to pass data in char mode using hyperterminals between boards - I was never successful.

When I try to pass data from router to coordinator I could see the LED3 blinking which indicates the board is putting out the data over the air. But I never saw any data being received by coordinator

Did any one had a chance to work on new Beestack and on wireless UART example?

If any one was able to transmit data in full-duplex mode I would be grateful for your suggestions.

Thank you
Labels (1)
0 Kudos
Reply
14 Replies

1,920 Views
JanellA
Contributor I
Thanks for your responses! Sadly, I'm still not getting this thing to work. I've tried with the default settings (except the hardware set to either NCB or SRB; the device type set to Coordinator, Router, or End Device; and making certain that UART port 2 is being used.) I've also tried with a few other security settings with no luck =\ I've requested to start an email conversation with the Freescale Engineering dept. Sigh.
0 Kudos
Reply

1,920 Views
JanellA
Contributor I
I'm working on this same problem, but I am using an End Device (SRB) and a Coordinator (NCB). I'm trying to persuade the two to pass data between them, but have not successfully done such.

1) Where in the WirelessUART code is actual data collected/generated and sent?

2) How do I dictate what device one binds to?

I've figured out how to change the mote from config mode to app mode, but I'm not certain as to if that app is even initiating (LED3 never blinks). =C
0 Kudos
Reply

1,920 Views
rs
Contributor I
Hello Janel,
Yes the LED3 never blinks. In the BeeApp.c file there are comments at the top of the file that say about different switches. Take a look at those comments.
void BeeAppTask(event_t events) is the function that manages all the application tasks and is defined in the BeeApp.c file. You can start traversing back from there and figure out the code that is involved in transmitting and receiving data.
I haven't worked on binding much yet. So I am not sure about your second question.

All the best
Shyam
0 Kudos
Reply

1,920 Views
rs
Contributor I
Hello Ware,
The mistake I did was I wasn't binding both the boards. So I couldn't receive the message on the other board. I learned about it and I am doing fine right now.

Thank you very much for your time and suggestion.

Thank you
Shyam
0 Kudos
Reply

1,920 Views
Ware
Contributor III
 
 
I have also used the BeeKit WirelessUART example (using BeeStack)...  It worked for me after playing with it for a bit.
 
I used 1 NCB and  1 SRB...
 
Here are a few "gotchyas" I ran into:
 
  • If you use the default BeeKit setup on the NCB you must use the USB connection (not the rs232  / DB9 connection).
  • This will create a virtual COM port after it is connected to your PC (check system properties in control panel to see what port number it assigns (usually a high number like 5 or 6)).
  • Then you'll need a term program that will accept those "virtual COM port" high numbers (my favorite does not (RealTerm)), but Windows's Hyperterminal does.

Hope that helps...  if you have a *specific* questions, I can try to help there.

 

Regards,

 - Ware

 

 

Message Edited by Ware on 2007-03-1411:05 AM

0 Kudos
Reply

1,920 Views
fenomeno83
Contributor I
hello...I have 2 12192-evb board...I want use wireless Uart example to create something like a  chat...for do thisd, it's necessary that 2 board swich from coordinator to end device?because coordinator send message and end device receive...but if device that receive message want send a reply must become coordinator?
thanks
0 Kudos
Reply

1,920 Views
JanellA
Contributor I
What you want to do is define 1 device as a Coordinator and define the second device as a Router.

None of the devices need to be end devices because both the Coordinator and any Routers are able to send and receive messages. Both devices are also able to transmit and receive data through the UART.

Once you define one device as the Coordinator it may stay the coordinator for the rest of its life. Your Router will not need to be a Coordinator to send and receive messages.

Did I understand your questions and answer your questions?


0 Kudos
Reply

1,920 Views
KRichard
Contributor II
Hello, we are still experiencing problems with the WirelessUART demo application, the network formation seems to work on the coordinator, the end device seems to be able to join, binding works too. But data typed into the terminal never gets transmitted.

We are using two SARD cards, I would appreciate some input on this. Thanks.

Richard
0 Kudos
Reply

1,920 Views
KRichard
Contributor II
Hello, we have found the problem.

We had to modify the PLL/Uart_Interface.h file to use uart1 instead of uart2 (just two #defines), after that the Wireless UART demo works (SARD boards).

Richard
0 Kudos
Reply

1,920 Views
JanellA
Contributor I
I still haven't managed to persuade the mote to speak through Hyperterminal using the WirelessUART code. The LED4 isn't even indicating that the buffer was successessfully sent.

Disabling UART2 and enabling UART1 didn't solve the problem. I do know that both Hyperterminal and the mote are using the same baud rate. The BeeApp.c doesn't offer much information in the way of configuration notes, but perhaps is there a parity or a stop bit that should be set? Currently I'm using 8N1.
0 Kudos
Reply

1,920 Views
KRichard
Contributor II
Hey, make sure you try with 8N1 38400.

Richard
0 Kudos
Reply

1,920 Views
rs
Contributor I
Hello Janell,
I am attaching the instructions that I got from Freescale support when I was struggling with this issue. I followed them and worked out of the problem. I have got communication between NCBs and NCB - SRB boards.

1. You need to check that the correct platform is look in the PLM
component and make sure that the MC13213-NCB board is selected in
Beekit: Platform->Target hardware. (the default is an EVB board)

2. make sure that UART 2 is enabled if you want to use the USB port.
(platform->Enable the UART on SCI port 2) and that uart 1 is disabled.

Do this for both projects. And then you should be able to follow the
instructions:
Press SW1 on both boards to form a network and join the network.
When Leds stop flashing then press SW3 on both boards to create a
binding.
Then Do a long press on SW1 on both boards to enter application mode.

Now open Hyberterminal and set the baudrate to 38400 (default baudrate)
and play

So give a look at those instructions and give a try to communicate.

All the best
Shyam
0 Kudos
Reply

1,920 Views
peg
Senior Contributor IV
Hi Ware,
 
You probably should update your RealTerm then:
 
 
0 Kudos
Reply

1,920 Views
KRichard
Contributor II
Hello, we have tried to make that work too and experienced the exact same problems as you.

Richard
0 Kudos
Reply