I use CC430f6137 and try to establish a radio link between these models. receiving and transmitting packets 256 bytes 868 MHz, I have the task of making radio COM port. After each send packet, radio switches to receive 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, the error CRC.Please help me, tell me what's the problem.thanks in advance
Best regards
Bella
Hi Bella
It is not possible to answer what is wrong without knowing your radio settings and knowing how your TX and RX functions look like. It would also be useful to know how your packets look like (packet format).
BR
Siri
Hi Siri!
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. //930x22, // 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!
Hi
Unfortunately I do not have any HW so I cannot run the example code you are referring to but I have a couple of questions:
Are you able to run the code example as it is (with no modifications)?
If you run the same example but change the PACKET_LEN from 100 to 263 and also set PKTLEN = 263 (you must also increase TxBuffer) are you able to get it up and running then?
I think the best approach is to get this example up and running with the packet length you want and then start to change the protocol when the radio behave the way you want.
If you are not able to get the original code up and running with the packet length you want, please let me know and I will try to get some support from the MSP430 team
Hi Siri,
I'm not able to get the original code up and running with the packet length I want ,please try to get support from the MSP430 team and help me.I'll be very grateful, if you could help me.
Best Recards Bella
Please help me, so I was able to run the package length of 256 bytes.
If you will not be hard to help me, I'll be very grateful.BR