AT91SAM7SE TWI module doesn't support "restart condition"

Discussion about SAM7 Series and ARM7TDMI based products.

Moderator: nferre

Posts: 4
Joined: Thu Nov 08, 2007 4:20 pm

AT91SAM7SE TWI module doesn't support "restart condition"

Mon Nov 01, 2010 5:07 pm

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... :(
Posts: 3
Joined: Wed Feb 27, 2013 4:08 pm

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

Wed Feb 17, 2016 5:00 pm

I am trying to do the same thing as the original poster with a AT92SAM3S ARM.

Is it possible?


Return to “SAM7 ARM7TDMI MCU”

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests