each driver is a separated instance, under the hook
> the basic configuration will be similar.
>
> BR,
>
> Alan
>
> On 11/9/23, Bert Voldenuit wrote:
> > Hello,
> >
> > I have figured what causes the transmission problem.
> >
> > I had
Hello,
I have figured what causes the transmission problem.
I had to setup the Channel Control B Register with:
DMAC_CHCTRLB_TRIGACT_BLOCK instead of DMAC_CHCTRLB_TRIGACT_BEAT
Because it would only do one pulse. With TRIGACT_BLOCK, it looks better but
DMAC do not read all the buffer. it seams th
I set it up to 2 manually.
Regards,
Bert.
Le mar. 31 oct. 2023 à 23:27, Bert Voldenuit a
écrit :
> 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
with green color only
[image: dso_01_01_02_59_38.png]
Regards,
Bert.
Le lun. 30 oct. 2023 à 18:57, Alan C. Assis a écrit :
> Hi Bert,
>
> On 10/30/23, Bert Voldenuit wrote:
> > Hi Alan,
> > Thanks for adding Brennan to the discussion.
> >
> > My answers be
.
>
> 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.
> > Now it mounts and opens ws2812 driver.
> >
>
> Great, what was the issue?
--> I
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
.
Regards,
Bert.
Le dim. 15 oct. 2023 à 22:14, Alan C. Assis a écrit :
> 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
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
Thanks for the references to github pulls
Le mer. 30 août 2023 à 04:18, Xiang Xiao a
écrit :
> On Wed, Aug 30, 2023 at 5:49 AM Bert Voldenuit
> wrote:
>
> > Hi,
> > Alan,
> > I use ./tool/configure.sh arduino-m0/nsh
> > Thanks to your blog, I am po
Xiao a
écrit :
> Do you enable DEFAULT_SMALL? If so, you have to enable CONFIG_FILE_STREAM
> in defconfig explicitly.
>
> On Tue, Aug 29, 2023 at 6:11 AM Bert Voldenuit
> wrote:
>
> > Hello,
> >
> > I am trying to run the serialrx app (out of the box) from the exa
Hello,
I am trying to run the serialrx app (out of the box) from the examples, but
i get the following errors:
- Some warnings because of conversion; no big deal
- undefined reference to standard librarie function like: fprintf,
lib_get_stream, fflush; I think this is the main problem but why?
b
11 matches
Mail list logo