Hello!
I work with cc430rf6137, I have an exchange protocols on 868MHZ, packet length 253bayts.
But frequent switching mode Rx-Tx, radio starts to work with errors, please tell me what's the problem !
Thanks in advance
Bella
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.
Hello!
I work with cc430rf6137, I have an exchange protocols on 868MHZ, packet length 253bayts.
But frequent switching mode Rx-Tx, radio starts to work with errors, please tell me what's the problem !
Thanks in advance
Bella
Hello Bella,
you are giving not enough information about your problem.
What is the error you experience? (wrong bytes, message too short, no message at all, registers content ...)
How do manage the switch between RX and TX? Code samples?
Greetings,
Jens.
Hello Jens,
Thank you for your response to my question. I would like to mention that I get the wrong bytes.
configuration registers
RF_SETTINGS rfSettings = {
0x08, // FSCTRL1 Frequency synthesizer control.
0x00, // FSCTRL0 Frequency synthesizer control.
0x21, // FREQ2 Frequency control word, high byte.
0x62, // FREQ1 Frequency control word, middle byte.
0x76, // FREQ0 Frequency control word, low byte.
0xCA, // MDMCFG4 Modem configuration.
0x83, // MDMCFG3 Modem configuration.
0x93, // MDMCFG2 Modem configuration. //93
0x22, // MDMCFG1 Modem configuration.
0xF8, // MDMCFG0 Modem configuration.
0x00, // CHANNR Channel number.
0x34, // 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.
0x43, // AGCCTRL2 AGC control.
0x40, // AGCCTRL1 AGC control.
0x91, // AGCCTRL0 AGC control.
0xE9, // FSCAL3 Frequency synthesizer calibration.
0x2A, // FSCAL2 Frequency synthesizer calibration.
0x00, // FSCAL1 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.
0x47, // FIFOTHR RXFIFO and TXFIFO thresholds.
0x29, // IOCFG2 GDO2 output pin configuration.
0x06, // IOCFG0 GDO0 output pin configuration. Refer to SmartRF® Studio User Manual for detailed pseudo register explanation.
0x04, // PKTCTRL1 Packet automation control.
0x04, // PKTCTRL0 Packet automation control.
0x00, // ADDR Device address.
0xFD // PKTLEN Packet length.
}
I use programm example from TI.com slaa465.zip (Fixed_GT_FIFO).
I have the task of making radio COM port. After each send packet, radio switches to RX mode and waits for a response from the transmitter, but I'm having this problem , when continuously in this mode, the transfer is received after 7 packet transmission starts wrong , I get the wrong bytes.
Thanks in advance!
Best regards
Bella
**Attention** This is a public forum