You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/components/cc1101.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@ cc1101:
25
25
## Configuration Variables
26
26
27
27
### Hardware Settings
28
-
- **cs_pin** (**Required**, [Pin](pin.md)): The SPI Chip Select (CSN) pin connected to the module.
29
28
29
+
- **cs_pin** (**Required**, [Pin](pin.md)): The SPI Chip Select (CSN) pin connected to the module.
30
30
- **operation_mode** (Optional, enum): Defines the role of the CC1101 GDO pins based on your wiring setup. This is crucial for correct TX/RX operation.
31
31
- `DUAL_PIN` (Default): Configures the module for separate TX and RX data pins. Internally sets GDO0 (Module Pin 3) for TX Data Input and GDO2 (Module Pin 8) for RX Data Output. This is the recommended mode.
32
32
- `SINGLE_PIN`: Configures GDO0 (Module Pin 3) for bi-directional Serial I/O and sets GDO2 to high impedance. This mode requires only one MCU GPIO pin for both TX and RX.
@@ -77,6 +77,7 @@ This component provides actions to control the radio state, primarily used for c
77
77
## Integration with Remote Receiver/Transmitter
78
78
79
79
### 1. Dual Pin Wiring (operation_mode: DUAL_PIN)
80
+
80
81
This mode is recommended for simplicity and clarity. The CC1101 chip handles the input/output logic internally, requiring minimal external pin configuration.
81
82
82
83
- **GDO0 (Module Pin 3)**: Connect to the MCU pin used by `remote_transmitter`.
@@ -106,6 +107,7 @@ remote_receiver:
106
107
```
107
108
108
109
### 2. Single Pin Wiring - Push-Pull (with State Switching)
110
+
109
111
This mode requires only one MCU GPIO pin connected to GDO0 (Module Pin 3). Since the MCU pin operates in Push-Pull mode, manual switching between Input and Output logic is required inside the automation to avoid conflicts.
110
112
111
113
- **GDO0 (Module Pin 3)**: Connect to a single MCU GPIO pin.
@@ -142,6 +144,7 @@ remote_receiver:
142
144
```
143
145
144
146
### 3. Single Pin Wiring - Open Drain
147
+
145
148
This mode also requires only one MCU GPIO pin connected to GDO0 (Module Pin 3), but is simpler as the Open Drain configuration automatically handles the logic state switching without needing complex on_transmit/on_complete automation logic.
146
149
147
150
- **GDO0 (Module Pin 3)**: Connect to a single MCU GPIO pin configured as Open Drain.
@@ -189,9 +192,11 @@ remote_receiver:
189
192
## Troubleshooting
190
193
191
194
### "FF0F was found" Error
195
+
192
196
If you see a log entry stating `FF0F`, `0000`, or `FFFF` during setup, this indicates an SPI communication failure. Check your wiring (MISO/MOSI/CS).
193
197
194
198
### No Signal during Transmit
199
+
195
200
- **Check Pinout**: For all modes, the data line must be connected to GDO0 (Module Pin 3), as the CC1101 chip only supports transmission input via the GDO0 pin.
196
201
- **Check Pin Mode**: If using the Single Pin Push-Pull mode, ensure your on_transmit/on_complete logic correctly flips the pin's status.
0 commit comments