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
[BUG] Chamber falsely errors with MAXTEMP on power up SKR 1.3 #15863
Comments
I thought I'd managed to work around all the start up temperature issues at this point, but the 12bit ADC PR may have brought some back.. does |
since when adc was changed a few days ago i get this same error with skr 1.3 but i have no chamber enabled, mine is with the bed. start up printer and mine says err: max temp: bed |
Make sure the |
Please report: |
@p3p |
@AnHardt |
int filter(int adc, int len) {
static int akku = 0;
if (!akku) akku = adc;
else akku = akku * (len-1)/len + adc/len;
return akku;
} Something like that. |
@p3p was already 0.2.1 "Updating framework-arduino-lpc176x @ 0.2.1 [Up-to-date]" |
{ OV( 480), 115 },
{ OV( 516), 110 }, // !!!
{ OV( 553), 105 },
{ OV( 591), 100 },
{ OV( 628), 95 },
{ OV( 665), 90 },
{ OV( 702), 85 },
{ OV( 737), 80 },
{ OV( 770), 75 },
{ OV( 801), 70 },
{ OV( 830), 65 },
{ OV( 857), 60 }, // !!!
{ OV( 881), 55 },
{ OV( 903), 50 },
{ OV( 922), 45 },
{ OV( 939), 40 },
{ OV( 954), 35 }, // !!!
{ OV( 966), 30 },
{ OV( 977), 25 }, |
I know what you mean AnHardt I didn't want to have to keep track of extra state, with the lowpass set to 2 as it it is now it would only take a few readings to initialise. The issue is with 12 bit PR the 16x multisample is no longer present so the first few readings are being used as is from the lowpass filter. I'm pretty sure there is a pid dT issue with that PR so until that is looked into it may be best to set the LPC HAL back to using Marlins filtering at 10bit. |
If it is the initial reading |
Yes this works |
Perhaps this should be enabled in src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h by default? |
No it does need fixed one way or another, without Marlins 16x multisample any MAX temp set below the midpoint of the active temperature table may cause a max temp error even with the current minimal lowpass filtering. I'l update the framework to use the first reading read to initialise the filters, .. if people have noisy wiring it could very well make the situation worse for them but for most it should be better. |
@ellensp can you update Marlin and tell me if the update solves the issue. Platformio should be forced to update the packages .. hopefully. |
Removed BOGUS_TEMPERATURE_GRACE_PERIOD from Configuration.h. Updated framework-arduino-lpc176x to 0.2.2. Compiled and uploaded. no error on startup. Tried various Chamber temperatures. Seems to be sorted. |
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. |
Description
With Chamber enabled, see #15861 to get this to compile, on power on the SKR1.3 immediately goes into an error condition: MAXTEMP Chamber, PRINTER HALTED, Please Reset
configs.zip
It is easier with a LCD attached, I used a RRD GLCD clone.
Expected behavior:
This error should not happen.
Actual behavior:
The error displays and the buzzer sounds.
Additional Information
Image of test environment, Chamber temperature set to 35c
Image after MAXTEMP Chamber lowered to 60c and firmware uploaded.
The text was updated successfully, but these errors were encountered: