Author Topic: Sharing a UART with an FTDI chip and a bluetooth module?  (Read 2491 times)

0 Members and 1 Guest are viewing this topic.

Offline networkingdudeTopic starter

  • Contributor
  • Posts: 39
Sharing a UART with an FTDI chip and a bluetooth module?
« on: September 22, 2012, 06:52:37 pm »
I'm working on a project that needs to have multiple ways to connect to the micro controller.  My question is what would be the most cost effective way to achieve this?

I'll be using a FTDI rs-232 device and a bluetooth module. Can i just selectivity cut power to each or will this cause some issues?

Thanks for the advice!
 

Offline 8086

  • Super Contributor
  • ***
  • Posts: 1084
  • Country: gb
    • Circuitology - Electronics Assembly
Re: Sharing a UART with an FTDI chip and a bluetooth module?
« Reply #1 on: September 22, 2012, 07:14:44 pm »
Are you short of pins on the microcontroller? You could use soft serial for one of them if it's not too fast.
 

Offline networkingdudeTopic starter

  • Contributor
  • Posts: 39
Re: Sharing a UART with an FTDI chip and a bluetooth module?
« Reply #2 on: September 22, 2012, 07:52:28 pm »
There are no options to use other pins. It's a STN1170 OBD-2 IC
 

Offline 8086

  • Super Contributor
  • ***
  • Posts: 1084
  • Country: gb
    • Circuitology - Electronics Assembly
Re: Sharing a UART with an FTDI chip and a bluetooth module?
« Reply #3 on: September 22, 2012, 07:54:25 pm »
Ah. In that case use a multiplexor IC. I assume you don't need to have both in operation initally, or both listening, before deciding on one to use?
 

Offline networkingdudeTopic starter

  • Contributor
  • Posts: 39
Re: Sharing a UART with an FTDI chip and a bluetooth module?
« Reply #4 on: September 22, 2012, 07:57:26 pm »
Thats right only one active at a time. Could I just switch the power to the FTDI and the bluetooth module?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf