On Fri, Nov 25, 2011 at 6:01 AM, Shubhrajyoti Datta
<[email protected]> wrote:
> Hi ,
>
> On Thu, Nov 24, 2011 at 7:40 PM, Wayne Tams <[email protected]> wrote:
>> Hi,
>>
>> I'm not sure if I have a problem here or not?
>>
>> I have been trying to verify my SPI bus on my master device to ensure
>> it is functioning correctly.
>
> What is the platform?

i.MX53, the SoC is part of a SoM called DIMM-MX53
>
>> I can verify that MOSI, SS and the CLK
> How did you verify this?

I have placed an oscilloscope on each of three pins and I can the SPI
transaction on MOSI, clock and chip select, I am waiting on getting
use of a data analyser but I am confident that what I am saying on the
scope is a correctly formatted spi message that is generated by
spidev_test.c
>
>
>> are functioning. To verify MISO I have tied MOSI to MISO and tried
>
> Of the same bus? Do you have any other instance of the SPI to test?

Yes of the same bus spi1_mosi to spi1_miso, there is just this
instance available.
>
>> running spidev_test.c. When the two are tied together MISO appears to
>> be pulling MOSI permanently low and I can longer see the SPI message
>> on the scope. spi_test.c then displays all 0x00 for all the reads.
>>
>> Is my loop-back implantation incorrect or am I looking for another
>> cause of the problem?
>>
>> Thanks
>>
>> Wayne
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> spi-devel-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/spi-devel-general
>>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to