GP2040-CE icon indicating copy to clipboard operation
GP2040-CE copied to clipboard

DRV8833 not working

Open Benforce opened this issue 1 year ago • 3 comments

Expected Behavior

PWM signal on ports if DRV8833 addon is activated on pins 26 and 27 through web configurator

Current Behavior

no signal on the pins

Context

board : pico firmware: 0.7.10

Changing other addons for instance on pin 28 RGB led does work. So web configurator seems to work. Checked sourcecode. In sourcecode gp2040.aux , addons are included, but it seems not all are set up, especially drv8833. See below.

#include "addons/board_led.h" // Add-Ons #include "addons/buzzerspeaker.h" #include "addons/display.h" #include "addons/pleds.h" #include "addons/neopicoleds.h" #include "addons/reactiveleds.h" #include "addons/drv8833_rumble.h"

// Setup Add-ons addons.LoadAddon(new DisplayAddon(), CORE1_LOOP); addons.LoadAddon(new NeoPicoLEDAddon(), CORE1_LOOP); addons.LoadAddon(new PlayerLEDAddon(), CORE1_LOOP); addons.LoadAddon(new BoardLedAddon(), CORE1_LOOP); addons.LoadAddon(new BuzzerSpeakerAddon(), CORE1_LOOP);

Steps to Reproduce

In web configurator activate DRV8833 support on pins 26 and 27

Benforce avatar Nov 20 '24 19:11 Benforce

Am I assuming correctly that you're using a Pico, and not a board like the RP2040 Advanced Breakout Board?

mikepparks avatar Nov 20 '24 19:11 mikepparks

yes

Benforce avatar Nov 20 '24 19:11 Benforce

This has been fixed in main with #1219 and should be resolved with our next release.

mikepparks avatar Nov 23 '24 23:11 mikepparks