Page 1 of 1

AT91SAM7SE TWI module doesn't support "restart condition"

Posted: Mon Nov 01, 2010 5:07 pm
by dal
Hi everyone,

I'm trying to use the AT91SAM7SE TWI interface in master mode. Most of the things work some how, but I couldn't manage to generate a repeated start condition (Sr). According to the device datasheet, unlike AT91SAM7S/X, this MCU should support it.
The problem is that there is no information in the datasheet how to do that, and I also couldn't find any example which is showing this.

This is what I'd like to do with the TWI:
1. Start condition
2. Device Address + W
3. Send 'n' data bytes
4. Repeated Start Condition
5. Device Address + R
4. Read 'm' data bytes
5. Stop condition

I'm afraid that this is not possible and the datasheet is wrong :x
Please prove that I'm wrong... :(

Re: AT91SAM7SE TWI module doesn't support "restart condition

Posted: Wed Feb 17, 2016 5:00 pm
by miked998
I am trying to do the same thing as the original poster with a AT92SAM3S ARM.

Is it possible?

Thanks,
Mike