Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRV8833 not working #1217

Open
Benforce opened this issue Nov 20, 2024 · 3 comments
Open

DRV8833 not working #1217

Benforce opened this issue Nov 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Benforce
Copy link

Benforce commented Nov 20, 2024

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 Benforce added the bug Something isn't working label Nov 20, 2024
@mikepparks
Copy link
Contributor

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

@Benforce
Copy link
Author

yes

@mikepparks
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants