Hi,
We are using SAM9g25 processor and kernel linux 3.10 version. The processor supports Master/Slave which I got it from data-sheet but when
I looked kernel and it supports only master interface, I hope the driver will be supported by Atmel. Please some one share the link or patch or the kernel version which supports the slave of sam925.
Support SPI slave for SAM9g25
Moderator: nferre
- blue_z
- Location: USA
Post
Re: Support SPI slave for SAM9g25
You would need to use Linux kernel version 4.13 or later for framework that supports SPI slave mode.
However the Atmel SPI device driver, spi-atmel.c, only supports supports master mode.
You will have to write your own driver for SPI slave mode.
BTW the SAM9G25 is a SoC that has a ARM926EJ-S processor.
The SPI controller is part of the SoC, not the processor.
Regards
However the Atmel SPI device driver, spi-atmel.c, only supports supports master mode.
You will have to write your own driver for SPI slave mode.
BTW the SAM9G25 is a SoC that has a ARM926EJ-S processor.
The SPI controller is part of the SoC, not the processor.
Regards
Post
Re: Support SPI slave for SAM9g25
Hi,
Thank you for the response. It means atmel will not support spi slave in their driver but still we can use our own driver as a slave since hardware
supports it. Is there any API or document to make this? Please suggest me.
Thanks
Gopi Krishna
Thank you for the response. It means atmel will not support spi slave in their driver but still we can use our own driver as a slave since hardware
supports it. Is there any API or document to make this? Please suggest me.
Thanks
Gopi Krishna
Post
Re: Support SPI slave for SAM9g25
Hi,
Even after doing changes in spi-atmel.c, I face lot of difficulties to make it working. Is Atmel does not have any document to do that?
Please kindly helpful.
Thanks
Gopi Krishna
Even after doing changes in spi-atmel.c, I face lot of difficulties to make it working. Is Atmel does not have any document to do that?
Please kindly helpful.
Thanks
Gopi Krishna
Post
Re: Support SPI slave for SAM9g25
Hi,
I have changes which supports spi atmel as a slave, if needed I will share the patch and where I need to share the patch and it might help
others>? please let me know.
I have changes which supports spi atmel as a slave, if needed I will share the patch and where I need to share the patch and it might help
others>? please let me know.
Post
please post your patch here.
Re: Support SPI slave for SAM9g25
Hello Gopi Krishna,ramgopikrishna wrote: Hi,
I have changes which supports spi atmel as a slave, if needed I will share the patch and where I need to share the patch and it might help
others>? please let me know.
please post your patch here.
Who is online
Users browsing this forum: No registered users and 3 guests