piclist 2000\11\04\110145a >
Thread: Bug in LTC2400 SPI interface
face BY : Dan Michaels email (remove spam text)

Morgan Olsson  wrote:
>*Short description*
>The error occours when using the polled mode, i.e activating the CS (Chip
Select) to read the EOC flag (End Of Conversion) that LTC2400 then as
response outputs in the SDO pin, then if it is ready we read out the result,
if it is not we deactivate CS and later test again.
>It then, very rarely, and not in all implemetations, happen, that the 32
bit data comes in one bit too early.  Very funny, eh?

Hello Morgan,

I am not sure this pertains to what you are seeing, but the LTC1400/1404 chips
have the following constraint on CS and Sclk timing:

"If the time from CONV signal to CLK rising edge is less than
t2, the digital output will be delayed by one clock cycle".

t2 is spec'ed at 80 nsec minimum - should not be a problem with a PIC, even
running 20 Mhz.

There are also some constraints on how long the CS pulse can be - as
related to accuracy of the final result.

- Dan Michaels
Oricom Technologies

http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


See also: www.piclist.com/techref/io/serial/spis.htm?key=spi
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Bug in LTC2400 SPI interface

month overview.

new search...