Re: Using SPI_SLAVE on STM32


Tomasz Bursztyka
 

Hi Armando,


I am not maintaining stm32 driver, I won't much of any help about it.
Get in touch with PR 5200 owner or one of the guys that created the
driver (git blame).

Br,

Tomasz

Hello Thomasz,

Quick update before leaving for the week.

I took the patches suggested by you and I prepared
a very simple test environment. I have an issue
though: it seems that I'm not able to consume data
at the proper speed and OVR error is found in SR.

Just for testing I tried to comment the error out and
what I see is that I receive 1 byte evry 3.

I think I can slow down the spi master, but I think that
we would need to add DMA handling to stm32 spi. Is there
any plan?

Thanks,
Armando

On 05/04/2018 03:00 PM, Tomasz Bursztyka wrote:
It has not been rebased against latest SPI API changes, thus why it
can't be merged. But it's a fine PR besides that.

Tomasz


Thx Tomasz,

On 05/04/2018 02:08 PM, Tomasz Bursztyka wrote:
Hi,

Check this PR: https://github.com/zephyrproject-rtos/zephyr/pul
l/52
00
You probably need the first patch, and the second is an example
how
to
do it. Note however the API has changed a bit, you'll have to
check.
It seems quite old. Why hasn't it been merged yet?
Is there something wrong that prevent it?







Join devel@lists.zephyrproject.org to automatically receive all group messages.