From 90dc634f68b0d7e18d5a78701d05ed103a22a50f Mon Sep 17 00:00:00 2001 From: baobrien Date: Sat, 27 Aug 2016 20:16:40 +0000 Subject: [PATCH] more TDMA thoughts git-svn-id: https://svn.code.sf.net/p/freetel/code@2847 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/notes_and_todo_tdma | 16 +++++++++++++++- sm2000/CAD/.gitignore | 0 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 sm2000/CAD/.gitignore diff --git a/codec2-dev/notes_and_todo_tdma b/codec2-dev/notes_and_todo_tdma index 97022ea4..8047b126 100644 --- a/codec2-dev/notes_and_todo_tdma +++ b/codec2-dev/notes_and_todo_tdma @@ -16,11 +16,14 @@ Ideas for TDMA layer structure- -sync state machine: Unsynched - No sync at all Pilot sync - Pilot demod has found UW but slot demods have not locked on - Full sync - Any slot has pulled out a UW and is individually in 'sync' state + Full sync - Any slot has pulled out a UW and is individually in 'sync' state\ + Master - -TX -- Need some way of scheduling TX bursts -Should be fairly hardware-independant -Hardware timer of some sort synched with ADC? -Should ADC keep sampling during TX period or throw away samples? Software option, maybe? + -Maybe start a 'sample' timer in hardware synched to what the ADC sample number should be? + --reset sample timer on pilot sync API Skeleton- @@ -32,3 +35,14 @@ TDMA_get_frames() - Get frame structs if any frames have been decoded by rx -- o TDMA_reset_slot(n) - reset the estimators/sync state for any single slot -- useful from a protocol point of view if a master is scheduling slots to multiple clients TDMA_sched_tx(slot_n,tx_frame,tx_samps_out,tx_time_out) - Schedule a frame transmission -Difficult part is to actually ensure timing here + +Random TODOs: +[ ] Deframer work: + [ ] Framer for shorter frames (minus padding bits) + [ ] New deframer for extracting burst frames and keeping slot sync state + [ ] Looks +/- a few symbols in a demodulated chunk instead of pulling frames out of a steram + [ ] Provides frame location feedback to the TDMA part for coarse sync tracking + [ ] Add deframer mode for pilot modem end? + -Possibly just expose UW matching and let TDMA handle the rest. Frames will be extracted by slot demods + [ ] Add bit extraction code for new UW frame + diff --git a/sm2000/CAD/.gitignore b/sm2000/CAD/.gitignore new file mode 100644 index 00000000..e69de29b -- 2.25.1