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.
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.
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?
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.
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?
On Sat, May 11, 2013 at 1:56 AM, Mahesh Mahadevan <
Were you able to make MX6 work in Slave mode using patch above?
vijayk, does Mahesh's example help you? If yes, please mark him response as Correct Answer.
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.
HI Mahesh Mahadevan, are the patches to make the MX6 behave as SPI slave for the i.MX6 platform SDK?
Retrieving data ...