Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | MSP430 | I2C - need to generate NACK to communicate with slave


Advertise Here

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

I2C - need to generate NACK to communicate with slave - Paul - Oct 11 11:35:23 2009

Hello everybody,

I'm using a F169 and MAX127 (ADC) on I2C bus.

I have to do this:

After receiving the acknowledge, the slave issues the second byte followed by a NOT acknowledge (NACK) from the master to indicate that the last data byte has been received. Finally, the master issues
a STOP condition, ending the read cycle.

I don't know how to generate a NACK.
I've got several other I2C slaves on the bus - everything works fine.

I found this for USCI-I2C -> UCTXNACK generates a NACK.

But F169 is using UART and not USCI, so I need something like this for UART-I2C.

Thanks for your time.

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )