Update si4432.c

tinySA-v0.2
erikkaashoek 6 years ago
parent a02f94d3c8
commit 7882019c75

@ -434,9 +434,9 @@ void SI4432_Init()
{
palClearPad(GPIOB, GPIO_RF_PWR);
chThdSleepMilliseconds(100);
chThdSleepMilliseconds(20);
palSetPad(GPIOB, GPIO_RF_PWR);
chThdSleepMilliseconds(100);
chThdSleepMilliseconds(20);
//DebugLine("IO set");
@ -450,13 +450,13 @@ void SI4432_Init()
SI4432_Sel = 0;
// SI4432_Receive();// Enable receiver chain
// SI4432_Write_Byte(0x09, V0_XTAL_CAPACITANCE);// Tune the crystal
SI4432_Set_Frequency(433700000);
SI4432_Set_Frequency(433800000);
SI4432_Write_Byte(0x0D, 0x1F) ; // Set GPIO2 output to ground
SI4432_Sel = 1;
// SI4432_Write_Byte(0x09, V1_XTAL_CAPACITANCE);// Tune the crystal
SI4432_Set_Frequency(443700000);
SI4432_Set_Frequency(443800000);
SI4432_Write_Byte(0x0D, 0x1F) ; // Set GPIO2 output to ground
// SI4432_Write_Byte(0x6D, 0x1C);//Set low power

Loading…
Cancel
Save

Powered by TurnKey Linux.