Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MSP430 : Using I2C and UART0 together

Status
Not open for further replies.

mystery

Full Member level 2
Joined
May 9, 2001
Messages
124
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,298
Location
Turkey
Activity points
825
msp430 i2c init

Hi all,

How can I use I2C and UART0 of MSP430F169 together. Although they have different pins they seems to use the same control registers.
Is there a possible way to use them together?


Thanks.
 

uart0 msp430

MSP169 has 2 USARTS - USART0 and USART1.
USART0 can work in UART or SPI or I2C mode.
USART1 can work in UART or SPI mode.
With this device you can use only 2 serial channels according to this.

If you need more than 2 USARTs together with I2C, may be better is to use ARM7TDMI or ARM9...
 

i2c and uart msp430 c

You can also make a software I2C or SPI.
 

i2c programming msp430

My frind

You have to use a "software switch" in order to use both the I2C hardware and UART hardware

Please remember to save the UART init data and the I2C init and reinit every time befor you switch between UART and I2C.

D\L TI C examples file thay show you hoe to do it !

All the best

Bobi
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top