??? 04/20/10 05:42 Read: times |
#175146 - Confirmation Responding to: ???'s previous message |
Michael,
I can confirm to you that the page write into memory takes around 27ms. I had checked this using the Performance Analyzer of Keil IDE. The sensor is difficult for me to explain because is a custom ASIC, in principle has two wires, one for strobe and the other for transmitting data. Something quite similar with I2C but a little bit different, the entire comunication protocol is implemented software. I had checked also this routine and it takes arround 7.5 ms to empty its' internal buffer. So if I have time slice of 60ms between Timer 2 interrupts, 7.5 ms to empty the buffer and another 27ms to log it into the I2C memory I might have a good chance to interesect the user taks with the timer 2 interrupt. Sandu |
Topic | Author | Date |
I2C page write and interrupts | 01/01/70 00:00 | |
Some Important Things to Consider | 01/01/70 00:00 | |
Re: Some Important Things to Consider | 01/01/70 00:00 | |
You just buffer things | 01/01/70 00:00 | |
ISR + superloop normally enough | 01/01/70 00:00 | |
A Quick Reply | 01/01/70 00:00 | |
Re: A Quick Reply | 01/01/70 00:00 | |
Confirmation | 01/01/70 00:00 | |
The Atmel Scheduler | 01/01/70 00:00 | |
Re: The Atmel Scheduler | 01/01/70 00:00 | |
Your times seem quite long | 01/01/70 00:00 | |
Re: Your times seem quite long | 01/01/70 00:00 | |
The problem seems to be different | 01/01/70 00:00 | |
Time to closely read data sheet. | 01/01/70 00:00 | |
Re: Time to closely read data sheet. | 01/01/70 00:00 | |
Write a generic function.![]() | 01/01/70 00:00 | |
Paged operation very common | 01/01/70 00:00 |