DRV8833 not working
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
Am I assuming correctly that you're using a Pico, and not a board like the RP2040 Advanced Breakout Board?
yes
This has been fixed in main with #1219 and should be resolved with our next release.