Closed yzliao closed 8 years ago
We need to ensure that the sampling frequency (fs) is capable for the TDMA protocol. Need to avoid losing information.
E.g.
#ifdef SAMPLING_FREQ #if ( SAMPLING_FREQ*DATA_SIZE/FRAMES_PER_SEC > MAX_PKT_PAYLOAD_SIZE*8 ) #error "Sampling frequency too high" #endif #endif /*SAMPLING_FREQ*/
We need to ensure that the sampling frequency (fs) is capable for the TDMA protocol. Need to avoid losing information.
E.g.