Hello,
I have been investigating.
with debug gdb, I was able to get the tx_buffer. I don't understand why it
does not transmit all the buffer. It is like the Block Transfer Counter
(btcnt) is not
calculated properly or something similar which truncate the buffer.
0x60 is ONE
0x78 is ZERO
0x0 is
Hello Alan,
It is better with DMA. I think there is an error in sam_dmac.c line 140 I
had to change aligned to aligned_data, otherwise I get
error: expected declaration specifiers or '...' before numeric constant
static struct dma_desc_s g_base_desc[SAMD2L2_NDMACHAN]
locate_data(".lpram"), aligne
Hi Bert,
On 10/30/23, Bert Voldenuit wrote:
> Hi Alan,
> Thanks for adding Brennan to the discussion.
>
> My answers below.
>
> Le lun. 30 oct. 2023 à 16:09, Alan C. Assis a écrit :
>
>> Hi Bert,
>>
>> I'm CC Brennan (the original author) and Victor (the author of the
>> other driver using ESP32
Hi Alan,
Thanks for adding Brennan to the discussion.
My answers below.
Le lun. 30 oct. 2023 à 16:09, Alan C. Assis a écrit :
> Hi Bert,
>
> I'm CC Brennan (the original author) and Victor (the author of the
> other driver using ESP32 RMT) they have more experience with WS2812.
>
> On 10/29/23,
Hi Bert,
I'm CC Brennan (the original author) and Victor (the author of the
other driver using ESP32 RMT) they have more experience with WS2812.
On 10/29/23, Bert Voldenuit wrote:
> Hi Alan,
>
> Thanks to your advices, I was able to find why board_ws2812_initialize()
> was not in System.map.
> N
Hi Bert,
Please look your System.map and confirm it is generating the function
board_ws2812_initialize(). Something it is not even included because
some missing configuration.
You enabled DEBUG LED INFO, show you should see some messages in the
console if it was called, see: drivers/leds/ws2812.c
Hello,
Actually, looking closer at the samd21 datasheet, my led pin can be
configured in SPI MOSI.
In board/samd2l2/arduino-m0/src/ I added sam_ws2812.c, sam_ws2812.h which
are a adapted copy of the stm32 version.
Everything compiles but on "nsh> ls /dev", I can see that the led device
(/dev/leds
Hi Alan,
Thanks for the historical explanation.
The board is already done. I designed it to work with arduino. For the
ws2812 leds (actually it is tiny EC3210 working with SK6812 protocol which
is compatible with ws2812b) I used a library which uses pwm :
https://github.com/adafruit/Adafruit_NeoP
Hi Bert,
On 10/15/23, Bert Voldenuit wrote:
> Hello,
>
> I am trying use ws2812 driver with a samd21 mcu.
>
> I took example from the /boards/arm/rp2040.
>
> added to board.h:
> #define BOARD_GPIO_WS2812_PIN5 /* verifier pin #5 = PA15 */
>
> added to sam_bringup.c:
>
> #ifdef CONFIG_WS2812
>
Hello,
I am trying use ws2812 driver with a samd21 mcu.
I took example from the /boards/arm/rp2040.
added to board.h:
#define BOARD_GPIO_WS2812_PIN5 /* verifier pin #5 = PA15 */
added to sam_bringup.c:
#ifdef CONFIG_WS2812
/* Configure and initialize the WS2812 LEDs. */
#ifdef CONFIG_WS281
10 matches
Mail list logo