Replies: 2 comments 6 replies
-
My understanding from the datasheet was that the mapping of GDOx pins was quite flexible - see Table 41, page 62. Checking with an oscilloscope, I can clearly see clock on GDO0 and data on GDO2 when in direct mode. Swapping them on the lines you mentioned has the expected effect - data being on GDO0 and clock on GDO2. From my point of view, there doesn't seem to be preference, and I'm not sure why some parts of the datasheet suggest otherwise. |
Beta Was this translation helpful? Give feedback.
-
Hello @supcik, |
Beta Was this translation helpful? Give feedback.
-
Hello,
Thank you for your great library. I would like to use your library with a CC1101 in "direct mode" and I don't understand the following lines : (src/modules/CC1101/CC1101.cpp, lines 901-903)
As far as I understand, those lines configure GDO0 as clock and GDO2 as data. But according to TI data sheet (https://www.ti.com/lit/ds/symlink/cc1101.pdf) and according to the experiments that I did with SmartRF Studio, it should be the opposite.
Chapter 11.2 (General Control and Status Pins) of the data sheet says :
"In the synchronous and asynchronous serial modes, the GDO0 pin is used as a serial TX data input pin while in transmit mode."
Chapter 27.2 (Synchronous Serial Operation) of the data sheet says :
"Data input (TX data) is on the GDO0 pin. This pin will automatically be configured as an input when TX is active."
So if I understand the data sheet correctly, GDO0 should be for the data, and we could use GDO2 for the clock. Can you please explain why you did the opposite and how I am supposed to use GDO0 and GDO2 with your configuration ?
Thank you in advance for your reply.
Best regards,
-- Jacques
Beta Was this translation helpful? Give feedback.
All reactions