Re: STM32 LL SPI driver


Michał Kruszewski <mkru@...>
 

I tested new SPI on nrf5 boards and everything looks ok.
Do you use spi contex to control CS gpio?

Michał Kruszewski


Sent with ProtonMail Secure Email.

-------- Original Message --------
Subject: Re: [Zephyr-devel] STM32 LL SPI driver
Local Time: August 1, 2017 4:59 PM
UTC Time: August 1, 2017 2:59 PM
From: marti.bolivar@...
To: Matthias Bösl <matthias.boesl@...>
Zephyr Devel <devel@...>

Hi Matthias,

Thank you for your reply.

I cannot reproduce the issue here.

On 96b_carbon (STM32F4 based), with my series, CS GPIO is glitch free when testing with tests/drivers/spi/spi_loopback. Analog looks good too; typical waveform looks like this: http://imgur.com/a/9tY22

Do you have any repro steps I could try? Can you take an analog trace to see if perhaps there's a signal quality issue on your board?

Thanks,
Marti



On 1 August 2017 at 10:12, Matthias Bösl <matthias.boesl@...> wrote:
Hi Marti,

tested with and without your patch, same behavior with both versions

BR,

Matthias

On Tue, Aug 1, 2017 at 4:08 PM Marti Bolivar <marti.bolivar@...> wrote:
Hi Matthias,


Thanks,
Marti

On 1 August 2017 at 02:56, Matthias Bösl <matthias.boesl@...> wrote:
I'm about porting the enc28j60 to the new SPI driver (stm32f4 + CS GPIO pin), after some debugging, I found the CS pin seems to go high for a very short time in between a transaction, did anyone observe similar behavior?

screenshot attached

Best,

MatthiasScreenshot from 2017-08-01 08-15-57.png
_______________________________________________
Zephyr-devel mailing list


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