Skip to content

Commit 282a759

Browse files
committed
lint fixes
1 parent 5506883 commit 282a759

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/components/cc1101.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ cc1101:
2525
## Configuration Variables
2626
2727
### Hardware Settings
28-
- **cs_pin** (**Required**, [Pin](pin.md)): The SPI Chip Select (CSN) pin connected to the module.
2928
29+
- **cs_pin** (**Required**, [Pin](pin.md)): The SPI Chip Select (CSN) pin connected to the module.
3030
- **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.
3131
- `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.
3232
- `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
7777
## Integration with Remote Receiver/Transmitter
7878

7979
### 1. Dual Pin Wiring (operation_mode: DUAL_PIN)
80+
8081
This mode is recommended for simplicity and clarity. The CC1101 chip handles the input/output logic internally, requiring minimal external pin configuration.
8182

8283
- **GDO0 (Module Pin 3)**: Connect to the MCU pin used by `remote_transmitter`.
@@ -106,6 +107,7 @@ remote_receiver:
106107
```
107108

108109
### 2. Single Pin Wiring - Push-Pull (with State Switching)
110+
109111
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.
110112

111113
- **GDO0 (Module Pin 3)**: Connect to a single MCU GPIO pin.
@@ -142,6 +144,7 @@ remote_receiver:
142144
```
143145

144146
### 3. Single Pin Wiring - Open Drain
147+
145148
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.
146149

147150
- **GDO0 (Module Pin 3)**: Connect to a single MCU GPIO pin configured as Open Drain.
@@ -189,9 +192,11 @@ remote_receiver:
189192
## Troubleshooting
190193

191194
### "FF0F was found" Error
195+
192196
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).
193197

194198
### No Signal during Transmit
199+
195200
- **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.
196201
- **Check Pin Mode**: If using the Single Pin Push-Pull mode, ensure your on_transmit/on_complete logic correctly flips the pin's status.
197202

0 commit comments

Comments
 (0)