This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC1101:设置相同、逻辑分析仪结果不同

Guru**** 2398695 points
Other Parts Discussed in Thread: CC1101

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1542390/cc1101-same-settings-different-logic-analyzer-results

部件号:CC1101


工具/软件:

您好:

我有两款器件、两款器件都使用 CC1101。  我尝试将消费类产品的逻辑分析仪结果复制到我自己的设计中、读取 TPMS 传感器数据。  我捕获了消费类产品寄存器设置并将其插入我自己的硬件设计中、该设计也使用 CC1101。  从逻辑分析仪的捕获结果中可以看出、仅当消费类产品找到它感兴趣的内容时、GDO0 才会变为高电平。  在我的捕获中、即使 GDO0 线路使用相同的寄存器设置、它始终像时钟信号一样发出脉冲。

目标是能够触发 GDO0 的上升沿、以便读取用于解码的位。

我尝试调整 AGCCTRLx 寄存器、运气不好。

请提供任何意见。

亲切的问候。

CC1101_WriteRegister(CC1101_IOCFG2,0x0D); //GDO2 Output Pin Configuration
CC1101_WriteRegister(CC1101_IOCFG0,0x0E); //GDO0 Output Pin Configuration
CC1101_WriteRegister(CC1101_FIFOTHR,0x07); //RX FIFO and TX FIFO Thresholds
CC1101_WriteRegister(CC1101_SYNC1,0x00); //Sync Word, High Byte
CC1101_WriteRegister(CC1101_SYNC0,0x00); //Sync Word, Low Byte
CC1101_WriteRegister(CC1101_PKTLEN,0xFF); //Packet Length
CC1101_WriteRegister(CC1101_PKTCTRL1,0x04); //Packet Automation Control
CC1101_WriteRegister(CC1101_PKTCTRL0,0x72); //Packet Automation Control
CC1101_WriteRegister(CC1101_ADDR,0x00); //Device Address
CC1101_WriteRegister(CC1101_CHANNR,0x00); //Channel Number
CC1101_WriteRegister(CC1101_FSCTRL1,0x0F); //Frequency Synthesizer Control
CC1101_WriteRegister(CC1101_FSCTRL0,0x00); //Frequency Synthesizer Control
CC1101_WriteRegister(CC1101_FREQ2,0x10); //Frequency Control Word, High Byte
CC1101_WriteRegister(CC1101_FREQ1,0xB0); //Frequency Control Word, Middle Byte
CC1101_WriteRegister(CC1101_FREQ0,0x71); //Frequency Control Word, Low Byte
CC1101_WriteRegister(CC1101_MDMCFG4,0x5B); //Modem Configuration
CC1101_WriteRegister(CC1101_MDMCFG3,0xF8); //Modem Configuration
CC1101_WriteRegister(CC1101_MDMCFG2,0x00); //Modem Configuration
CC1101_WriteRegister(CC1101_MDMCFG1,0x22); //Modem Configuration
CC1101_WriteRegister(CC1101_MDMCFG0,0xF8); //Modem Configuration
CC1101_WriteRegister(CC1101_DEVIATN,0x43); //Modem Deviation Setting
CC1101_WriteRegister(CC1101_MCSM2,0x07); //Main Radio Control State Machine Configuration
CC1101_WriteRegister(CC1101_MCSM1,0x3C); //Main Radio Control State Machine Configuration
CC1101_WriteRegister(CC1101_MCSM0,0x14); //Main Radio Control State Machine Configuration
CC1101_WriteRegister(CC1101_FOCCFG,0x3E); //Frequency Offset Compensation Configuration
CC1101_WriteRegister(CC1101_BSCFG,0x6C); //Bit Synchronization Configuration
CC1101_WriteRegister(CC1101_AGCCTRL2,0x04); //AGC Control
CC1101_WriteRegister(CC1101_AGCCTRL1,0x40); //AGC Control
CC1101_WriteRegister(CC1101_AGCCTRL0,0xB0); //AGC Control
CC1101_WriteRegister(CC1101_WOREVT1,0x87); //High Byte Event0 Timeout
CC1101_WriteRegister(CC1101_WOREVT0,0x6B); //Low Byte Event0 Timeout
CC1101_WriteRegister(CC1101_WORCTRL,0xFB); //Wake On Radio Control
CC1101_WriteRegister(CC1101_FREND1,0x56); //Front End RX Configuration
CC1101_WriteRegister(CC1101_FREND0,0x10); //Front End TX Configuration
CC1101_WriteRegister(CC1101_FSCAL3,0xE9); //Frequency Synthesizer Calibration
CC1101_WriteRegister(CC1101_FSCAL2,0x2A); //Frequency Synthesizer Calibration
CC1101_WriteRegister(CC1101_FSCAL1,0x00); //Frequency Synthesizer Calibration
CC1101_WriteRegister(CC1101_FSCAL0,0x1F); //Frequency Synthesizer Calibration
CC1101_WriteRegister(CC1101_RCCTRL1,0x41); //RC Oscillator Configuration
CC1101_WriteRegister(CC1101_RCCTRL0,0x00); //RC Oscillator Configuration

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Craig:

    在逻辑分析仪的捕获结果中、我看到检测到了您要观察的两个状态变化。

    对于额外的切换、您是否确认在任何其他点都没有使用 GDO0?

    此致、
    Theo

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Theo:

    感谢您的答复。  是的,有两个状态变化,但由于所有的“噪音“,我不得不丢弃“噪音“数据,并希望避免不得不这样做。  我一直在使用 AGCCTRL2 寄存器、并登录到:

    0xF8

    11111000

    11 — 不能使用 3 个最高增益设置

    111 — 约 比最大可能增益低 17.1dB

    000 - 24dB

    这似乎是我想要的。

    我不能诚实地说,为什么这解决了这个问题,但它确实给了我一个干净的状态变化,以避免进行额外的处理。

    再次感谢。

    亲切的问候。