Closed CReimer closed 5 years ago
What exactly did you do to make P0_27 available? It is normally the SD detect pin for the onboard SD card reader and has a pullup to 3.3V are you sure you have disconnected it from both of these.
As to all of the rest of the changes, who knows. I think the basic answer is that i2c is not currently supported on this board. Wouldn't it have been easier to connect the 2004 display directly and sort out the pins for it?
@p3p is i2c supported on the LPC176x devices?
I unsoldered R38 and connected a jumper wire directly to the pad next to the sd card slot. After that I put a piece of shrinking tube around the sd detect lever on the sd card slot to make sure it doesn't short P0_27 to ground.
Checked everything with my multimeter and I do end up on the LPC right next to P0_28
Yes, it would have been easier to just connect the 2004 display. But I need most of the pins on EXP1 and EXP2 for an additional Stepper driver and 4 additional fan connectors.
(Sorry for double posting, forgot to answer the second paragraph)
@CReimer problem solved?
Nope. I'm using a different board now
will close this one as there is no way of testing it without someone has the hardware
we can always reopen if someone is willing to test and can confirm the issue is still there
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
I'm trying to connect a 2004 LCD with a PCF8574AT chip on my newly bought Bigtreetech SKR V1.3. There's no dedicated I2C header on this board, so I had to find a more creative solution. SCL0 (P0_28) is available on the EXP1 Port and SDA0 (P0_27) is connected to SD_DETECT. A bit of soldering later and I have an I2C available. After that I removed all instances of these two pins in pins_BIGTREE_SKR_V1.3.h
This is the way I set things up in Configuration.h (tested on Mega2560)
Build fails with this
Solution for this error is editing platformio.ini
New error
Solution
in LCD.h, FastIO.h, I2CIO.cpp, LCD.cpp, LiquidCrystal_I2C.cpp, LiquidCrystal_I2C_ByVac.cpp, LiquidCrystal.cpp, LiquidCrystal_SR.cpp and LiquidCrystal_SR3W.cpp
and I had to comment out "pins_arduino.h" in FastIO.h
Additionally I edited Wire.cpp
To enable the right I2C
Now Marlin compiles through. But it doesn't start up on the SKR board and I'm out of ideas now.
Any ideas what I did wrong? And is it normal that I had to edit all these files just to get it to compile?
Thanks