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.

TMS320F28377D: Using Serial Flash Programmer Tool with Xbee RF Modules

Part Number: TMS320F28377D
Other Parts Discussed in Thread: CONTROLSUITE

Hi,

In a project, I am using 28377D from C2000 series microcontrollers. I intend to update the code in the flash wirelessly. For this purpose there is a Xbee RF module connected to SCIA channel of the microcontroller and another XBee module connected to my PC. Although, I can successfully upload the code using serial_flash_programmer.exe supplied with the ControlSuite when connected via cable, I cannot get it to work when the cable is replaced with XBee modules talking to each other.

I tried baud rates from 9600 to 115200 with no luck. Any suggestions?

Thanks,

  • Hi Ali,

    My suggestion is to ensure you are using the proper SCI GPIO pins. Make sure the pins you used with the FTDI are the same used in your wireless solution.

    Other than that, I cannot make other suggestions right now. Perhaps you can ensure the SCI pins are getting the right data from the RF module using a logic analyzer or oscilloscope.

    Hops this helps.

    sal
  • Hi Sal,

    Thank you for your reply.

    The issue was caused due to mistake on selection of Xbee Module remote mode (configuration/communication), so the problem is solved. However, I've another issue that the achieved baud rate is limited to 57600. Even in the cable connected setup(upper one in the above figure), I could not use the baud rate at 115200. Therefore, I think that the reason of this limitation may be caused by the serial_flash_programmer.exe supplied with the ControlSuite. Is this correct? Does The serial_flash_programmer.exe have such a limitation? The Xbee module supports up to 250000 kbps, so I just want to reach to this limit, or at least 115200.

    Thanks,
  • There is no such limitation in the serial flash programmer.

    The issue may be due to the SYSCLK frequency of the device when you boot it. If you are using the bootloader in ROM after a POR, then the SYSCLK will be running off of 10MHz INTOSC. This will limit the baud rate possible with the SCI.

    sal