You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have Marlin on SKR v1.3 LPC1768 and configure SERIAL_PORT 0 and BAUDRATE > 250000
Edit: Or SKR v1.4 Turbo LPC1769 and configure SERIAL_PORT 0 and BAUDRATE >= 1000000
Then I can only receive marlin's output over UART but any commands sent don't reach marlin (behaviour is similar to a disconnected RX0 on SKR 1.3). However comms over USB CDC (i.e. SERIAL_PORT_2 -1) work fine.
NOTE I have a working fix for this bug: bugfix-2.0.x...mihai-dumitresq:skr-1.3-baud
I'll make a pull request but note that while it works and CLKPWR_SetPCLKDiv(CLKPWR_PCLKSEL_UART0, CLKPWR_PCLKSEL_CCLK_DIV_1);
is correct I'm not sure of where to best place it.
I've now tested SKR v1.4 Turbo / LPC1769 and turns out it's only somewhat affected:
on bugfix-2.0.x BAUDRATEs of 115200, 250000, 460800, 500000, 921600 work. BAUDRATE 1000000 does not work
with pull/22284, BAUDRATEs of 57600, 115200, 250000, 460800, 500000, 921600, 1000000, 2000000 (!) work
mh-dm
changed the title
[BUG] No response on SKR v1.3 with SERIAL_PORT 0 and BAUDRATE > 250000
[BUG] No response on SKR v1.3 / v1.4 LPC176x with SERIAL_PORT 0 and BAUDRATE > 250000
Jul 2, 2021
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Have Marlin on SKR v1.3 LPC1768 and configure
SERIAL_PORT 0
andBAUDRATE > 250000
Edit: Or SKR v1.4 Turbo LPC1769 and configure
SERIAL_PORT 0
andBAUDRATE >= 1000000
Then I can only receive marlin's output over UART but any commands sent don't reach marlin (behaviour is similar to a disconnected RX0 on SKR 1.3). However comms over USB CDC (i.e. SERIAL_PORT_2 -1) work fine.
NOTE I have a working fix for this bug:
bugfix-2.0.x...mihai-dumitresq:skr-1.3-baud
I'll make a pull request but note that while it works and
CLKPWR_SetPCLKDiv(CLKPWR_PCLKSEL_UART0, CLKPWR_PCLKSEL_CCLK_DIV_1);
is correct I'm not sure of where to best place it.
It was developed by reading the troubleshooting in:
https://community.nxp.com/t5/LPCXpresso-IDE/LPC1768-uart-using-FDR-at-higher-baud-rates/m-p/544083
and trying to understand the changes in dd10a92
Based on the fix I assume SKR v1.4 (also LPC1768) to be affected too. Maybe also SKR v1.4 Turbo (LPC1769).
Bug Timeline
Bug is on latest 2.0.x and bugfix-2.0.x but it was also on 2.0.5.3 IIRC. Reporting now after investigating the issue in detail.
Expected behavior
M105 and other commands work.
Actual behavior
No response to any commands.
Steps to Reproduce
Version of Marlin Firmware
Marlin 2.0.9.1
Printer model
Ender 3
Electronics
SKR 1.3
SKR 1.4 Turbo
Host Software
SD Card (headless)
The text was updated successfully, but these errors were encountered: