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.

RF2500 target board UART connection.

Other Parts Discussed in Thread: MSP430F2274

hi guys. i need help on the uart connection of the rf2500 target board. i doing my project and need to connect the TX and RX of the target board to the Telit module GSM862. as mentioned in the datasheet, the uart (pin 3.4,3.5) was used for communication with the PC. 

is it possible to use UART with same pins  connection (3.4,3.5)?

the pin 3.4 and 3.5 is free on the battery board to power the rf2500 target board. so i guess i'll be alright. 

one more thing. what is the use of pin XIN and XOUT (pin 2.6,2.7) 

in my project i used SPI connection of the rf2500 target board to the sensors (other device) and work fine.  then i chose to use IIC connection for the target board to the Telit and noticed the target board only soppurt either SPI or IIC. thus, the only option is to use UART. 

thanks. 

  • Yes, you can use the UART pins of the RF2500 target board. XIN and XOUT pins are for connecting external crystal. By default these pins are not I/O pins but you can change them at the P2SEL register.

  • thanks. 

    i thought i got all wrong for the rf2500 target board.

    just to confirm . so i can use the uart (pin 3.4,3.5) or use pin XIN and XOUT but need to program it first at the P2SEL. am i right?.

    i checked it and it was mentioned that the baudrate for UART of the target board is fixed at 9600. and my telit module is using 11500.

    is it true? or i can change it to be 11500.

  • toyot ler said:
    so i can use the uart (pin 3.4,3.5) or use pin XIN and XOUT but need to program it first at the P2SEL. am i right?.

     

    No. Examine the MSP430F2274 datasheet first. On page 3 and 5 you will see that your device pins have multiple function. The default pin function for P3.4 and P3.5 is general purpose I/O. To change the function of these pins to UART you need to set them in P2SEL register in your code. After you have set them as UART pins you can use the UART function.

    Now see that XIN and XOUT pins. They have nothing to do with UART.  They are for connecting external crystals for clocking purposes.

    The RF2500T have the MCUs UART pins directly connected to H1 connector pin1 and pin6 (see the user guide, schematics section). If your module is communicating at 11500 baud then you need to initialise your MCUs UART peripherial to 11500 baud in your code.

     

**Attention** This is a public forum