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

Please prove that I'm wrong...
