diff gsm-fw/L1/tpudrv/tpudrv12.c @ 894:a714522c925b

Pirelli RFFE control: PA band select wasn't being driven properly
author Space Falcon <falcon@ivan.Harhan.ORG>
date Tue, 30 Jun 2015 09:13:57 +0000
parents 7f305eb3c530
children 5a826938d005
line wrap: on
line diff
--- a/gsm-fw/L1/tpudrv/tpudrv12.c	Mon Jun 29 23:00:49 2015 +0000
+++ b/gsm-fw/L1/tpudrv/tpudrv12.c	Tue Jun 30 09:13:57 2015 +0000
@@ -581,9 +581,12 @@
 	TSP_TO_ABB(0xA0);
 	*TP_Ptr++ = TPU_FAT(16);
 #if CONFIG_TARGET_PIRELLI
+	*TP_Ptr++ = TPU_MOVE(TSP_ACT, rf_path[rf_index].tx_up & 0xFF
+					| RF_SER_ON);
 	*TP_Ptr++ = TPU_MOVE(TSP_ACTX, rf_path[rf_index].tx_up >> 8);
 	*TP_Ptr++ = TPU_FAT(21);
-	*TP_Ptr++ = TPU_MOVE(TSP_ACT, PA_ENABLE | RF_SER_ON);
+	*TP_Ptr++ = TPU_MOVE(TSP_ACT, rf_path[rf_index].tx_up & 0xFF
+					| PA_ENABLE | RF_SER_ON);
 #else
 	*TP_Ptr++ = TPU_MOVE(TSP_ACT, rf_path[rf_index].tx_up | RF_SER_ON);
 	*TP_Ptr++ = TPU_FAT(21);