-
-
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
Fix no response on SERIAL* for SKR 1.3 / 1.4 / LPC176x with high BAUDRATE #22284
Conversation
shouldn't this be fixed in the platform and for all uarts? |
The fix is in LPC1768/MarlinSerial.h which is used for both LPC1768 and LPC1769. My best understanding is that the issue is LPC176x specific. I still need to verify whether the issue and fix applies to SKR 1.4 Turbo / LPC1769. (Edit: removed section that was wrong) |
I've now tested SKR v1.4 Turbo / LPC1769 and turns out it's only somewhat affected:
The fix works and improves behaviour for high BAUDRATEs. |
Yes, we should do all UARTs. I just tested high BAUDRATEs and: |
Indeed, as this appears to be a general issue this should probably be in the LPC176x framework rather than Marlin, having a quick look at the linked issue its just upping the UART peripherals base frequency to improve the final baud rate error, I don't think there is any downside to doing that. |
Fix no response on Serial* for LPC1768 (SKR v1.3) with BAUDRATE > 250000 Fix no response on Serial* for LPC1769 (SKR v1.4 Turbo) with BAUDRATE >= 1000000 Fix derived from MarlinFirmware/Marlin#22284 that was tested on Marlin with SERIAL_PORT 0 on SKR v1.3 and with SERIAL_PORT 0, 1, 3 on SKR v1.4 Turbo . With that fix verified 57600, 115200, 250000, 460800, 500000, 921600, 1000000 BAUDRATEs work.
@p3p I've created p3p/pio-framework-arduino-lpc176x#47 . Please advise. |
Will be fixed in the LPC176x framework |
Fix no response on Serial* for LPC1768 (SKR v1.3) with BAUDRATE > 250000 Fix no response on Serial* for LPC1769 (SKR v1.4 Turbo) with BAUDRATE >= 1000000 Fix derived from MarlinFirmware/Marlin#22284 that was tested on Marlin with SERIAL_PORT 0 on SKR v1.3 and with SERIAL_PORT 0, 1, 3 on SKR v1.4 Turbo . With that fix verified 57600, 115200, 250000, 460800, 500000, 921600, 1000000 BAUDRATEs work.
Description
Fix no response on
SERIAL
* for SKR v1.3 / LPC1768 withBAUDRATE > 250000
Fix no response on
SERIAL
* for SKR v1.4 Turbo / LPC176x withBAUDRATE >= 1000000
Requirements
Tested on SKR v1.3. After fix verified 57600, 115200, 250000, 460800, 500000, 921600
BAUDRATE
s work onSERIAL_PORT 0
.Edit: Tested on SKR v1.4 Turbo which uses LPC1769. After fix verified 57600, 115200, 250000, 460800, 500000, 921600, 1000000, 2000000
BAUDRATE
s work onSERIAL_PORT 0
.Benefits
SKR v1.3 and v1.4 Turbo (likely many LPC176x) can now use high
BAUDRATE
s onSERIAL_PORT
*.Related Issues
#22283