-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
[FEATURE REQUEST] support for BTT SKR2 + esp8266 #638
Comments
Thank your for submiting, please be sure you followed template or your issue may be dismissed. if you deleted the template it is here |
under Marlin only the normal serial mode is available not the SPI, be sure the serial pins are not used for somethig else and not shared with USB under Marlin. The Serial pins on ESP are GPIO 1 and GPIO 3 (PD8/PD9 per your docs), GPIO 0 and GPIO 4 are used for the SPI protocol of RRF which also use SPI. The MKS protocol is for MKS boards not BTT, and Marlin support only MKS protocol for MKS boards so far. Fast upload could be implemented only if #575 is implemented - which is far from be done at this moment, same for RRF protocol in Marlin So if Serial communication is not working- I looks like more a Marlin configuration problem than ESP one |
Oh that's useful, thanks. I can't really tell where the leads go to on the board (multi layers and only the silkscreen is available) but I kinda assumed the jumpers were there to route a couple SPI pins to one or the other (wifi VS udisk). |
@LawnMo please share your findings and how you flashed the ESP board, this is very interresting |
Will do if I can get anything working ^^. On the marlin side, it only needs SERIAL_PORT 3 (or SP2 or SP3), so far, esp3d gets serial messages but can't send, so either a pin conflict or a faulty board, I guess. |
workaround found : MarlinFirmware/Marlin#21982 tl,dr: BTT SKR2 rev A & B have a small pin conflict, esp3d works "natively" on this board 👍 |
great ^_^ thank you for sharing |
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. |
Is your feature request related to a problem? Please describe.
Hey, I recently bought BTT's new board and it appeared, according to the documentation, that their "wifi RRF extension module" was usable under marlin too. There's a wifi / U-disk jumper, that afaik let us select which is connected to spi. It clearly states "when U-disk jumpers are on, wifi module only works in uart and only marlin can be used".
My first thoughts was to plug that wifi module and flash esp3d (2.1.1) on it then plug it back in (after modifying marlin's serial_port attributions, pin file says SERIAL_PORT or SERIAL_PORT2 needs to be 3 for esp to work).
Except, so far nothing seems to work, esp3d receives marlin's serial messages (sdcard remove/inserted) but it can't send commands (anything M117, M22, G28..).
Describe the solution you'd like
I checked the solders on both the motherboard and the wifi module, there's nothing shorted, everything is clean and there's continuity between the two (so it's not a faulty pin header either).
So I moved on to pin definitions, which is where i noticed something "familiar", BTT SKR2's wifi module is an esp12s and the breakout board expose 2x 8pins, just like the MKS robin Lite.
Upon further inspection :
It's using GPIO0 & 4 and as far as I can tell, esp3d 2.1.1 on a esp8266 uses GPIO0 & 2, which would explain why I get messages from marlin but can't send any commands (?)
Which is why I'm wondering, should I try to use esp3d 3.x and build it with :
#define COMMUNICATION_PROTOCOL MKS_SERIAL
?
Describe alternatives you've considered
This could also be a configuration error, a hardware error, a documentation error, I'm kinda lost and this hardware is not yet properly documented ^^".
Additional context
Hope I can have somebody's opinion/solution on that semi-issue. Thanks for reading this :)
The text was updated successfully, but these errors were encountered: