-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[FIXED] (Rumba32 PWM for RGBW/LASER/SPINDLE on pins PD12/13/14/15 4xch of Timer4) #21448
Comments
Please keep mentions to a minimum unless something is on fire. Someone will look at this when they can. |
Rumba32 variant don't set PD12/13/14/15 as PWM pins. And it's not fully compatible with Marlin. That rumba 446VE variant seems that was copied from 446R, that has less pins. So, that is the issue. It need a new, fully configured 446VE variant to everything works. |
@rhapsodyv |
This is the updated version, that have the "full" variant: https://github.com/stm32duino/Arduino_Core_STM32/blob/master/variants/RUMBA32_F446VE/PeripheralPins.c#L108 Platform ship with 1.9.0 release, that is from May 2020... So, PlatformIO stm32duino is outdated... You can try just set this in the rumba env:
It will make you to use an updated stm32duino version, that ships with the updated variant... But remember one thing: analog pins from original stm32duino variant will not with Marlin right now (without a fix). |
@rhapsodyv , very good job , thanks a lot , I will try this tomorow , and i will report if all is ok , i will check all gpios and i will if something broken Thanks again |
@rhapsodyv Ps ; Tons of bug revealed , case light have been written for only one pin , and someone have added ' case light use RGB' but haven't written all code needed , and compile errors too ... I will make it soon |
@thisiskeithb |
You have the power to close your own issues as well. Just hit that Close button 🙂 |
@studiodyne Good to know that it fixed your issue!! But, as I said, the default variant will have some PIN issues and you can have random behaviour. So, I sent a PR to add a fixed variant for rumba32. Can you test it? My PayPal is https://www.paypal.com/donate?business=3WLLTNTFHK99N¤cy_code=USD ❤️ |
I have made this local variant two weeks ago, but had no effects (may be some lines missing in the ini ) , I will try yours and verify all is fine like the imported package For some bad behavior pins , I use common pins , and analog pins/pwm are just for led , so , if sometimes I have a light special behavior , it's not a problem , and it will be visible , I will report it. |
For information , I use all pins , 3 hotends/thermistors/all 6 drivers / SPI/ 3 motion sensor/1 calibration pins/ bltouch + one servo for my switching nozzle/ 2 pins for coolant 'used for sms alarm ' / 4 pins PWN for rgbw led because neopixel timing is dead if more than 10 leds/ 2 serials port , one for usb , the other for mks tft35 , all works fine You can be sure if there is a issue in this variant , it will be visible and i will report it |
Thanks!! This change is needed for marlin work properly:
A0 to PIN_A0
|
It's ok , i will update with your own variant , and forget the stm package |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Marlin.zip
Rumba32 F446vet6 - No pwm on ext pins PD12/13/14/15 4xch of Timer4
4 pins used to drive RGBW LEDS STRIP with external mosfet
The lcd menu have no ajustable brightness 0=OFF and 1 to 255 =ON for each color
I have used ' laser PWM feature ' to try PD12/13/14/15 but no pwm too
It's too much for me
@thinkyhead Paypal donation if you fix it ' reasonnable donation of course '
The text was updated successfully, but these errors were encountered: