Support SPI slave for SAM9g25

Discussion around AT91RM9200 and SAM9 Series Products.

Moderator: nferre

ramgopikrishna
Posts: 2
Joined: Tue May 28, 2019 9:17 am

Support SPI slave for SAM9g25

Tue May 28, 2019 9:23 am

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.
blue_z
Location: USA
Posts: 1940
Joined: Thu Apr 19, 2007 10:15 pm

Re: Support SPI slave for SAM9g25

Wed May 29, 2019 12:36 am

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
ramgopikrishna
Posts: 2
Joined: Tue May 28, 2019 9:17 am

Re: Support SPI slave for SAM9g25

Mon Jul 08, 2019 9:18 am

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
blue_z
Location: USA
Posts: 1940
Joined: Thu Apr 19, 2007 10:15 pm

Re: Support SPI slave for SAM9g25

Tue Jul 09, 2019 3:30 am

Try this.

Regards

Return to “SAM9 ARM9 MPU”

Who is online

Users browsing this forum: No registered users and 4 guests