Re: STM32 LL SPI driver


Marti Bolivar <marti.bolivar@...>
 

Does this reproduce in the loopback test for you? Are you able to take an analog trace?

On Aug 1, 2017 1:22 PM, "Matthias Bösl" <matthias.boesl@...> wrote:

Yes, I do.


On Tue, Aug 1, 2017, 7:20 PM Michał Kruszewski <mkru@...> wrote:
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
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



_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@lists.zephyrproject.org
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel


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