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.

Connecting RS-232 device to BT low power and talk via simple terminal

Other Parts Discussed in Thread: CC2543

Hi,

I have product who sends text data through his RS-232 port.

if you connect it to PC and use terminal (for example tera-term) with the correct configuration you can send and receive data.

Baud rate: 38400
Data: 8 bit
Parity: none
Stop: 1 bit
Flow control: none

Ive connected this product with RS-232 to Ethernet converter, set the IP of server I want it to connect to and it works fine.

What im looking for is to connect to this product via BT low power, and to control it (for example talk with one of the terminals in the Android play store)

I tried to look for a solution but I think Im missing something, could be you dont have the complete solution

What are my options in this case?

If more information is needed please let me know.

Thanks for the help

  • We have a sample application similar to this on our wiki page: http://processors.wiki.ti.com/index.php/SerialBLEbridge. This should be a good starting point for you.
  • Thx for the quick answer,

    Im looking for out of the box solution or at least very little modification (Hardware\Software)
    What is very critical is the size and the power it needs.
    As i saw in the link, one of the requirments was: SmartRF05 EB, which is very big.
    is there any kit that fits my needs or a complete solution?

    All I need is to pass the data coming from the RS-232 to the BT and vice versa, nothing smarter then that.

  • Hello Assaf,

    As Willis1 pointed out, the SerialBridge is your staring point. You don't have to use the entire code. You only need the sections that initialize the UART DMA and then read and write to the Rx and Tx buffers.

    Another example would be from the CC2543 examples swru257.zip which gives example of UART using DMA, polling and interrupts. You may find this post helpful.
    e2e.ti.com/.../1307608.aspx

    Thanks,
  • Hi Guru,

    Thx for the reply,

    Im sorry if wasnt clear enough, I did check what Willis1 wrote, but part of the hardware project is the "SmartRF05 EB"  which is very big and cannot fit into my product.

    Im not sure its really needed, please try to exlain a little bit more about it and not familiar with this hardware almost at all

    Thanks,

  • Hello Assaf,

    The UART software example found in the swru257.zip will allow you to use the UART without the SmartRF05 EB.   To become more familiar with the CC254x devices, you will have to go through the CC253x CC254x User's Guide swru191f.pdf and read through the section you are attempting to work with.

    Thanks,