Add a smoothing filter to the POCSAG TX waveform.

This commit is contained in:
Jonathan Naylor
2018-06-25 18:00:11 +01:00
parent 88c530d9e6
commit dcd8142c51
2 changed files with 24 additions and 9 deletions
+7 -5
View File
@@ -36,11 +36,13 @@ public:
uint8_t getSpace() const;
private:
CSerialRB m_buffer;
uint8_t m_poBuffer[1200U];
uint16_t m_poLen;
uint16_t m_poPtr;
uint16_t m_txDelay;
CSerialRB m_buffer;
arm_fir_instance_q15 m_modFilter;
q15_t m_modState[170U]; // NoTaps + BlockSize - 1, 6 + 160 - 1 plus some spare
uint8_t m_poBuffer[1200U];
uint16_t m_poLen;
uint16_t m_poPtr;
uint16_t m_txDelay;
void writeByte(uint8_t c);
};