Working baseline, works with -O0 -- -O3 AND -O0 with gcc 4.9.3 Ubuntu. TX to RX switch timing is the challenge. IOArduino.cpp may not work

This commit is contained in:
danilo 2017-03-31 19:14:17 +02:00
parent 3a4451684f
commit aefe492f9b
5 changed files with 102 additions and 69 deletions

View file

@ -374,6 +374,7 @@ void CIO::ifConf(MMDVM_STATE modemState, bool reset)
// Delay for coarse IF filter calibration
delay_rx();
delay_rx();
delay_rx();
// Frequency RX (0)
setRX();
@ -429,9 +430,6 @@ void CIO::setTX()
//======================================================================================================================
void CIO::setRX()
{
// Delay for TX latency
delay_rx();
// Send register 0 for RX operation
AD7021_control_word = ADF7021_RX_REG0;
Send_AD7021_control();