-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network formation issue using the NRF52840-DK #535
Comments
04-TRAN/sock.h has some error, some variable undeclared. Can not find the errno.h file |
for that issue I recently opend a PR https://github.com/openwsn-berkeley/openwsn-fw/pull/533/files |
@TimothyClaeys |
@TimothyClaeys @Chris-Ho Hi, I have ported openwsn to stm32f103VET6+CC1101 development board, and it still can not organize network or join the network. It meets the same problem with nrf52840DK. |
Hi,guys. There has some problem when I use OpenVisulizer to set up RPL server:
hardware description:nrf52840DK |
@changtengfei Even if I increase the value of wdRadioTx , the problem still occurs. I think I should analyze the duration of the TT3 and determine if there is a problem with the timer |
@TimothyClaeys Hi, I find that my CC1101 RF has a long time between finishing loading packet and start to send a packet, I think this value is the delayTx. But set a big value to delayTx the code would die in some time, and why this problem occurs and how to fix it? |
@TimothyClaeys @remyleone How to add the user schedule on the openwsn |
problem descript
development environment description
hardware : stm32f103 + CC1101
I have located the error file--board_info.h. My board uses 32.768KHz clock crystal as the source clock of sctimer, below is my board_info.h context:
#define PORT_TICS_PER_MS 32 //32KHz->RTC->sctimer
#define PORT_US_PER_TICK 30
#define SCHEDULER_WAKEUP() EXTI_GenerateSWInterrupt(EXTI_Line1);
#define SCHEDULER_ENABLE_INTERRUPT()
//======== IEEE802154E timing
#define SLOTDURATION 10 //in miliseconds
//time-slot related
#define PORT_TsSlotDuration 330 //10ms
//execution speed related
#define PORT_maxTxDataPrepare 110
#define PORT_maxRxAckPrepare 20
#define PORT_maxRxDataPrepare 33
#define PORT_maxTxAckPrepare 50
//radio speed related
#define PORT_delayTx 18
#define PORT_delayRx 0
// ==adaptive_sync accuracy
#define SYNC_ACCURACY 1//ticks
My source code link: https://github.com/kyh-ly/openws-fw-stm32
The text was updated successfully, but these errors were encountered: