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
Hardware Support #5
Comments
it looks like the pinout for the LCD pins is slightly different (see the blue pins to the bottom right): Assuming they do use the same LCD module, it should be a matter of changing the pin assignments in /** I/O pins for FPIOA */
#[derive(Copy, Clone)]
pub enum io {
…
/** LCD chip select (output) */
LCD_CS = 36,
/** LCD reset (output) */
LCD_RST = 37,
/** LCD Data/Command */
LCD_DC = 38,
/** LCD SPI SCLK */
LCD_WR = 39,
…
} It has turned out that Maix's documentation diagrams are not always 100% reliable though. I think easiest way to know how to adopt it would be to look at the difference for the Maix-provided C samples for the boards, see what pin numbers they provide to the fpioa set function commands. |
Here's a detailed schematic http://dl.sipeed.com/MAIX/HDK/Maix-Bit/Maix-Bit_1.09/Maix-Bit_1.09%28Schematic%29.pdf, which seems to have the same pin numbers as Maix Go:
It mentions nowhere what exact kind of LCD is used though. Whether this "8bit MCU LCD" is the same ST7789V. As it's the same dimensions and 320×240 resolution I wouldn't be surprised if it was. Another spec document: http://dl.sipeed.com/MAIX/HDK/Maix-Bit/Specifications/Sipeed%20Maix-BIT%20Specifications_EN%20V2.0.pdf seems it confirms the LCD pins are unswizzled. |
I'm getting mine in about a week. Do you think it would be safe to just try the examples and see if they work? |
I don't think that can do anything really harmful, no. It's similar enough. Looking at the schematic there are some components missing such as the I2C bus on io_30/io_31. So the acceleratometer/touch screen is not going to work. But only a few of the demos rely on that. |
Please let me know how it goes ! |
Is the MAix Bit supported by the graphical examples? It seems to have very similar functionality to the Go you're using, but I'm not sure if the pinout is similar enough.
The text was updated successfully, but these errors were encountered: