dynamic SPI pin change. #58876
Replies: 1 comment
-
I used zephyr original driver and change dynamicly pin registers, solved my problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to change pin of SPI0. I have ws2812b on pin number 0 and pin number 1.. I wanna use only one instance ( SPI0 ) for send data to this Strip leds with 2 different pin. also I am using "fxcontrol" library for animations. I wrote that code in SES but I dont know how can I do it in zephyr and use nrfx_spi.c file. is ses I did like that
....
....
my board is NRF52DK with modified external clock input. ( I disabled external crystal - on board and its using now internal RC ). blinky code is working perfect timing. orginal zephyr ws2812b example also working wery well.
Could you help to understand why nrfx_spi is not working well in zephyr ? what must I do ? or are there any other way to change spi mosi pin dynamicly in code.
Beta Was this translation helpful? Give feedback.
All reactions