Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91SAM7SE TWI module doesn't support "restart condition"
PostPosted: Mon Nov 01, 2010 5:07 pm 
Offline

Joined: Thu Nov 08, 2007 4:20 pm
Posts: 4
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... :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: