Critical tuning of time constants. Network now stable.
// time-slot related
#define PORT_TsSlotDuration 328 // counter counts one extra count, see datasheet
// execution speed related
- #define PORT_maxTxDataPrepare 10 // 305us (measured 82us)
- #define PORT_maxRxAckPrepare 10 // 305us (measured 83us)
- #define PORT_maxRxDataPrepare 4 // 122us (measured 22us)
- #define PORT_maxTxAckPrepare 10 // 122us (measured 94us)
+ #define PORT_maxTxDataPrepare 23 // ~700us (measured 517us)
+ #define PORT_maxRxAckPrepare 23 // ~700us (measured 506us)
+ #define PORT_maxRxDataPrepare 23 // ~700us (measured 506us)
+ #define PORT_maxTxAckPrepare 23 // ~700us (measured 517us)
// radio speed related
#ifdef L2_SECURITY_ACTIVE
#define PORT_delayTx 14 // 366us (measured xxxus)
// time-slot related
#define PORT_TsSlotDuration 492 // counter counts one extra count, see datasheet
// execution speed related
- #define PORT_maxTxDataPrepare 66 // 2014us (measured 746us)
- #define PORT_maxRxAckPrepare 10 // 305us (measured 83us)
- #define PORT_maxRxDataPrepare 33 // 1007us (measured 84us)
- #define PORT_maxTxAckPrepare 22 // 305us (measured 219us)
+ #define PORT_maxTxDataPrepare 23 // ~700us (measured 517us)
+ #define PORT_maxRxAckPrepare 23 // ~700us (measured 506us)
+ #define PORT_maxRxDataPrepare 23 // ~700us (measured 506us)
+ #define PORT_maxTxAckPrepare 23 // ~700us (measured 517us)
// radio speed related
#define PORT_delayTx 12 // 214us (measured 219us)
#define PORT_delayRx 0 // 0us (can not measure)
