Тактовая частота на процессор заводится с GDO0, после старта на Xosc/192 процессор устанавливает повышенную частоту (пробовал Xosc/6, Xosc/3, Xosc/1,5). После повышения частоты прием перестает работать. Для эксперимента обрезал дорожку с GDO0 и пробую на внутреннем генераторе процессора (4 МГц) прием. Если IOCFG0=3F, все ОК. Как только изменяю на 0х35 (пробовал и 0х33 и 0х31 ) - нет приема. Мои настройки: 0x06, // FSCTRL1 Frequency synthesizer control. 0x00, // FSCTRL0 Frequency synthesizer control. 0x10, // FREQ2 Frequency control word, high byte. 0x09, // FREQ1 Frequency control word, middle byte. 0x7B, // FREQ0 Frequency control word, low byte. 0xF5, // MDMCFG4 Modem configuration. 0x75, // MDMCFG3 Modem configuration. 0x13, // MDMCFG2 Modem configuration. 0x22, // MDMCFG1 Modem configuration. 0xE5, // MDMCFG0 Modem configuration. 0x00, // CHANNR Channel number. 0x14, // DEVIATN Modem deviation setting (when FSK modulation is enabled). 0x56, // FREND1 Front end RX configuration. 0x10, // FREND0 Front end TX configuration. 0x18, // MCSM0 Main Radio Control State Machine configuration. 0x16, // FOCCFG Frequency Offset Compensation Configuration. 0x6C, // BSCFG Bit synchronization Configuration. 0x03, // AGCCTRL2 AGC control. 0x91, // AGCCTRL0 AGC control. 0xE9, // FSCAL3 Frequency synthesizer calibration. 0x2A, // FSCAL2 Frequency synthesizer calibration. 0x1F, // FSCAL0 Frequency synthesizer calibration. 0x59, // FSTEST Frequency synthesizer calibration. 0x81, // TEST2 Various test settings. 0x35, // TEST1 Various test settings. 0x09, // TEST0 Various test settings. 0x3F, // IOCFG2 GDO2 output pin configuration. 0x06, // IOCFG0D GDO0 output pin configuration. Refer to SmartRFR Studio User Manual for detailed pseudo register explanation. 0x0С, // PKTCTRL1 Packet automation control. 0x44, // PKTCTRL0 Packet automation control. 0x00, // ADDR Device address. 0x06 // PKTLEN Packet length. 0x07 //FIFOTHR
|