2008-03-18 04:36:32     spi error in blackfin uclinux

2008-03-18 04:36:32     spi error in blackfin uclinux

DAVID ZHOU (CHINA)

Message: 52669   

I have set bits_per_word to 8 in linux/arch/...../stamp.c ,

but in my corresponding driver probe function, I print spi->bits_per_word, it is 16 ,not 8.

What is the matter?Can anyone help me?

I use 2007.r1.1 release version of uclinux.

Thanks in advance.

QuoteReplyEditDelete

2008-03-18 05:53:53     Re: spi error in blackfin uclinux

Bryan Wu (CHINA)

Message: 52675    Hi David,

Please post you SPI configuration code and testing printk code of that modification.

-Bryan

QuoteReplyEditDelete

2008-03-19 21:32:40     回复: spi error in blackfin uclinux

DAVID ZHOU (CHINA)

Message: 52787   

I have see the source code , that is a bug of 2007 r1.1 release verion.

Also when read from spi , the spi MOSI send out dummy with 0xFFFF,if my spi chip receieve 0xFFFF , it may cause some unexpected result. When read from my spi chip. the spi MOSI line should be 0, how should I do ?

thanks !

QuoteReplyEditDelete

2008-03-19 22:11:05     Re: 回复: spi error in blackfin uclinux

Yi Li (CHINA)

Message: 52789    If that bug in 2007 r1.1 has been fix in 2008r1 release, you may think of using new release. For your second issue, it is still suggest to try on 2008r1 release.

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.