Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

I don't understand SPI graph in "ATmega164P/324P/644P" Datasheet (NEW) 8011M–AVR–08/09

2009-09-01 by Cat C

Hi there,

Looking at Fig. 15.3 (Pg. 167) and reading the "15.4 Data Modes" paragraph on Pg. 166, I don't see that:

   "Data bits are shifted out and latched in on opposite edges of the SCK signal"

I thought that means that Data Out is valid on MOSI on Rising SCK and Data In is Sampled on MISO on Falling SCK (or the other way)
but it looks like nothing happens on Falling SCK...

I need to know which mode to choose because on the AD9874:
"All data input to the AD9854 is registered on the rising edge of SCLK, and all data is driven out of the AD9854 on the falling edge of SCLK."

What don't I get, please?

Thanks,

Cat


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.