|
@@ -35,6 +35,7 @@ class CC1101:
|
|
|
FREQ2 = 0x0D
|
|
|
FREQ1 = 0x0E
|
|
|
FREQ0 = 0x0F
|
|
|
+ MCSM0 = 0x18
|
|
|
|
|
|
|
|
|
|
|
@@ -131,6 +132,12 @@ class CC1101:
|
|
|
version, self._SUPPORTED_VERSION
|
|
|
)
|
|
|
)
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ self._write_burst(self._SPIAddress.MCSM0, [0b010100])
|
|
|
marcstate = self.get_main_radio_control_state_machine_state()
|
|
|
if marcstate != self.MainRadioControlStateMachineState.IDLE:
|
|
|
raise ValueError("expected marcstate idle (actual: {})".format(marcstate))
|