I have developed the printed circuit boards for Zigbee chips but we are running to some difficulties with getting the chips to work with Nanostack. Have any one tried to put the nano stack on the CC2430 128k Flash.The only difference between my board and the TI reference design is I am not using the 32.7 KHz crystal. I am not sure is the nano stack use any watchdog timers for the RTOS which is using
when I try to use the nanostack example with the make file in the
example folder The code doesn't run as expected. We ran throw the
following test to elimanate some errors but I haven't come up with
solution yet. I will appritiate your guys help. All the following test
has been done on Nano_example_n120. These test are been done in a main
loop and I have coomented the schduler.
//Test to see if the Clock cycles change as I call the uart init function
1.
Turn on and off and led in a while loop. Measured the Delta from
falling edge to rising edge. it was 440ns base amount of time to go
through the loop.
2. Turn on and off and led and call the Uart inti function. The Delta increase significanly to few micro seconds
//Test to see if the instructions in the function getting called
1. Turn off the LED
2.
in the begininf of UART init function Turn on and off and LED two times
to show the strat sequence and at the end of the function Turn on and
of the LED as an indication of ending instrunction
3. Called UART Init in the main while loop.
4. The Sequence of LED on and off can't be seen on the scoop.
//Test to see if UART PIN works
1. Call uart init and then call uart put_char function to print a character to a uart terminal--> NOTHING HAPPEN
2. Copy the code inside of the function and put them in the main file and commenting the functions --> UART works like charm
We
know when function calls happen it do something but not the right
instruction it just sit there and doesn't know what to do. My theory is
it has to do with the way it's compiling and getting link in CSEG
files and the way it sperate them in different bank.
Does TI has any Zigbee Stack solution for compilers other than IAR compiler since our developing environment is in Linux?
I would appritiate any comment or help on that.
Mohsen
Oregon State university