-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status output !TX/RX on the GDO2 CC1101 pin #3571
Conversation
Why low when transmitting? Can you please give some details on what kind of circuit expected to be controlled by gd2? |
I used this pin to make a LED indication of signal transmission and reception. If you connect LEDs to pins GDO2 and GDO0, the LEDs will flash in time with the transmission or reception of a signal |
And to control, for example, a board on the e07-433m20s module, it makes no difference what the logical level will be when transmitting or receiving at the GDO2 output. It is enough to connect GDO2 to RXEN, and invert GDO2 to TXEN |
To be honest we thought that you are planning to add external amplifier or companion chip(CC1190). |
The GDO2 pin is not used on any external radio modules that I know of. Therefore, this function will not harm anyone, but will open up new opportunities |
I'd say that this is very specialized solution that you've made for your board which is not ideal for other uses cases. Here is why:
|
Everyone is free to use this signal as they wish
There is already a module e07-433m20s with a receive and transmit amplifier. It has direct gain control inputs TXEN and RXEN. If you control the amplifier using one pin, then in any case you need an inverter - either for TXEN or for RXEN. Therefore, it is not so important what the logical level is for TX or RX.
You're right, there are some risks. However, the current consumption of LEDs is quite low, and the resistance of 50 ohms is low enough that there will be no problems. I can now take an oscillogram from GDO0 and show the result |
Thank you |
What's new
The essence is to display the transmission/reception status in the form of a logical level on the GDO2 pin of the CC1101 chip. This allows external devices to understand the current operating status of the radio chip
At rest, the GDO2 pin is in the floating-state. In receive/transmit mode, GDO2 switches to push-pull mode. When receiving, a logical 1 appears, when transmitting, a logical 0 appears. When the chip goes into rest mode, the GDO2 pin also returns to the floating-state
This can be used to control external signal amplifiers or to indicate the current state of the radio chip
Demo: https://disk.yandex.ru/d/kEsjUYyuDQM_gA
Verification
Checklist (For Reviewer)