FreeCalypso > hg > fc-rfcal-tools
diff autocal/txbandmain.c @ 116:4ce87a30383f
fc-rfcal-txband: channel calibration implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 13 Feb 2018 06:22:32 +0000 |
parents | ae8da516681c |
children | 4c3f4231a021 |
line wrap: on
line diff
--- a/autocal/txbandmain.c Tue Feb 13 05:17:13 2018 +0000 +++ b/autocal/txbandmain.c Tue Feb 13 06:22:32 2018 +0000 @@ -136,13 +136,23 @@ txcal_basis_compute(); /* actual Tx levels calibration */ calibrate_tx_levels(); + /* channel calibration */ + calibrate_tx_calchan(); + printf("Uploading calchan table\n"); + upload_tx_calchan(); +#if 0 /* * We need to insert a delay between stopping Tx * and doing the FFS write in order to avoid * an intermittent fw crash on the DUT. + * + * This delay may no longer be needed after + * the addition of calchan table upload above, + * so commenting it out to test. */ usleep(100000); +#endif printf("Saving calibrated values in FFS\n"); misc_enable(CFG_WRITE_TX_CAL);