avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] Safer timing in par_txrx()?


From: Jan-Hinnerk Reichert
Subject: [avrdude-dev] Safer timing in par_txrx()?
Date: Sat, 24 Jan 2004 16:41:24 +0100
User-agent: KMail/1.5.4

Hi,

after the latest post from address@hidden, I had a look at the way 
PPI-programmers work.

Currently par_txrx() works like this:
- read MISO
- set MOSI
- put SCK high
- put SCK low

The target chip reads MOSI on the rising edge of SCK with some 
setup-time and it shifts MISO out at the falling edge of SCK.

So, I believe that we would gain some immunity to delays, if we change 
the order to:
- set MOSI
- read MISO
- put SCK high
- put SCK low

Any comments on this?
Is it really safe to change it?
Should we do it before the release?

Cheers
 Jan-Hinnerk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]