From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8559 invoked by alias); 24 Sep 2012 09:34:06 -0000 Received: (qmail 8514 invoked by uid 22791); 24 Sep 2012 09:34:05 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Sep 2012 09:33:48 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 507402F78007 for ; Mon, 24 Sep 2012 10:33:47 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nuxWGd-cvKku; Mon, 24 Sep 2012 10:33:46 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001676] New: SPI cyg_spi_transaction_tick: Discrepancy between documentation and X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: SPI X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 24 Sep 2012 09:34:00 -0000 Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2012/txt/msg01258.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001676 Summary: SPI cyg_spi_transaction_tick: Discrepancy between documentation and Product: eCos Version: CVS Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: low Component: SPI AssignedTo: unassigned@bugs.ecos.sourceware.org ReportedBy: ilijak@siva.com.mk CC: ecos-bugs@ecos.sourceware.org Class: Advice Request There is a discrepancy between Reference Manual (RM) and implementation of most SPI drivers regarding SPI chip select behaviour during cyg_spi_tick. The SPI part of RM states (underlines by reporter): "... If the device requires additional clock ticks in the middle of a transaction without being selected, cyg_spi_transaction_tick can be used. _This_will_drop_the_device's_chip_select_if_necessary, then generate the appropriate number of ticks. The arguments are the same as for cyg_spi_tick. ..." And about cyg_spi_tick: "... These ticks must happen at the appropriate clock rate _but_no_chip_select_should_be_asserted_ and no data transfer will happen. cyg_spi_tick provides this functionality. ..." Contrary to this, most of the actual drivers do not touch the chip selects. Ilija -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.