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.

eZ430-RF2500 transmission speed and baud rate

Other Parts Discussed in Thread: MSP430F2274, SIMPLICITI

I am using the eZ430-RF2500 development kit with the MSP430F2274 microcontroller.  I have taken the temperature sensor demo and switched the ADC10 from the temp sensor to A0 to measure a signal coming in on that pin.  I have tried decreasing the value in the TACCR0 register to transmit the data faster from the end device to the access point.  I have p[eaked out at about 16 Hz.  I tried to switch timer A clock sources from the ACLK to the SMCLK, but then the device does not transmit.  I need to be able to transmit at around 100 Hz, so I was wondering which settings I needed to change to be able to do this?

Also, is there anyway to change the baud rate for the USB of the development kit?

Thanks

  • Hello.

    I assume you are talking abut SimpliciTI. I strongly recommend that you use the SmartRF Studio tool to configure any radio registers that are not supported through the existing interface. There are dependencies among the radio registers that may not be obvious. The tool knows about these. I would also recommend that you use the drop-down list of available data rates and not simply enter one in the edit box for the same reason.

    Once you do this you can export the resulting configuration as a code-ready file. Make sure you select the SimpliciTI template.

    This is how the radio configurations were generated originally.

    Hope this helps.

    lfriedman

     

  • Actually, I am not talking about SimpliciTI.  The radio frequency is not the issue.  My issue is the timer A register that is controlling the length of time it takes to run the code.  The TACCR0 register counts the time for one loop of my program.  I need this to process at around 100 Hz, but currently it is at 17 Hz.  I was told to try to change the source clock to the SMCLK, but when I did this, the transmission stopped.  This device should be able to read data at 100 Hz, so I was wondering what other settings I needed to change in order to make this happen.

    Thanks

  • Please see the attached code example on how to use TACCR0 & SMCLK for TimerA on the F22x2. Please run the code "as-is" to verify functionality and then modify it per your timing needs.

    These code examples can be found on www.msp430.com

     

  • Thank you for the reply.  I have looked at these examples before.  My problem is not that I cannot set it up to use a different clock source, but that the end device does not transmit when I switch to using the SMCLK instead of the ACLK as my timer A source.  I am trying to get my code to run faster and was told that switching the source clock would help.

    I have also tried to change the frequency settings for my clock using the basic clock module registers, but changing those settings also causes my end device to stop transmitting.

    Any suggestions would be great.

    Thanks