how to configure i.mx53 in spi slave mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to configure i.mx53 in spi slave mode

ソリューションへジャンプ
3,019件の閲覧回数
vijayk
Contributor I

I want to configure spi in slave mode for i.mx53. In which the processor will be in slave mode. So In order to work in slave mode can any body provide me the link how to update mx53_loco file and driver file.

ラベル(1)
0 件の賞賛
返信
1 解決策
2,160件の閲覧回数
maheshmahadeva1
NXP Employee
NXP Employee

I have attached a patch that shows implementation for slave mode. This was done for MX51, but should be similar for MX53. Hope this helps.

元の投稿で解決策を見る

0 件の賞賛
返信
9 返答(返信)
2,160件の閲覧回数
maheshmahadeva1
NXP Employee
NXP Employee

Hi Sanjeev,

The patch that was attached is to make the MX6 behave as a SPI slave device. By default, the driver provided in the BSP configures the MX6 SPI to be master.

So if you have a SPI slave device with MX6 as SPI master, then you do not need this patch.

Best regards,

-Mahesh

0 件の賞賛
返信
2,160件の閲覧回数
LeonardoSandova
Specialist I

HI maheshmahadevan-r9aadq, are the patches to make the MX6 behave as SPI slave for the i.MX6 platform SDK?

Leo

0 件の賞賛
返信
2,160件の閲覧回数
YixingKong
Senior Contributor IV

vijayk, does Mahesh's example help you? If yes, please mark him response as Correct Answer.

Thanks,

Yixing

0 件の賞賛
返信
2,161件の閲覧回数
maheshmahadeva1
NXP Employee
NXP Employee

I have attached a patch that shows implementation for slave mode. This was done for MX51, but should be similar for MX53. Hope this helps.

0 件の賞賛
返信
2,160件の閲覧回数
sanjeevsharma
Contributor IV

Hi Mahesh,

Will it be helpful for Imx6 too ? and do you have sample application too to test the change ?

@Vijay K:Did you get the chance to test the change?

Regards

Sanju

0 件の賞賛
返信
2,160件の閲覧回数
vijayk
Contributor I

@Sanjeev: No

0 件の賞賛
返信
2,160件の閲覧回数
maheshmahadeva1
NXP Employee
NXP Employee

Should work on MX6 as well since the same eCSPI module is present on MX6. You will have to port it to the driver that is included as part of the MX6 BSP.

Best regards,

-Mahesh

0 件の賞賛
返信
2,160件の閲覧回数
sanjeevsharma
Contributor IV

Thanks Mahesh,

Are you referring to same patch attached by you need to port on kernel i

have been using for imx6 platform.I there any limitation if device is

working in slave mode?

Regards

Sanju

On Sat, May 11, 2013 at 1:56 AM, Mahesh Mahadevan <

0 件の賞賛
返信
2,160件の閲覧回数
cheersalam
Contributor II

HI Sanjeev,

Were you able to make MX6 work in Slave mode using patch above?

Regards

Alam

0 件の賞賛
返信