-
Notifications
You must be signed in to change notification settings - Fork 2k
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
I2C not working under RIOT with U8G2 pkg #16381
Comments
Kijk naar mijn vraag daar is het al beantwoord. ClOsInG thIS IsSuE nOW!!! |
If you tried with tests/pkg_u8g2, did you use |
Yes i used this configuration ; |
So it should work :-/, can you provide the output of tests/periph_i2c by sending on the terminal the command |
i2c_scan 0 is not one of the commands that is recognised. if i type help these are the only commands that are known. |
On recent versions it should be available: RIOT/tests/periph_i2c/Makefile Line 9 in c0c3a76
So, you can try directly from master to see if it helps |
|
Please disable |
yes but is the u8g2 package not included within RIOT? they even wrote device specific u8x8_byte_hw_i2c_riotos and the u8x8_gpio_and_delay_riotos. dont now were to look anymore because i get no error's at all |
Could you try by using the following command? (and leaving the main.c file as original)
As the |
i think you mean: TEST_DISPLAY=u8g2_Setup_ssd1305_i2c_128x32_noname_1 ? |
i can compile without an error if i use : make BOARD=nucleo-l452re TEST_OUTPUT=4 TEST_DISPLAY=u8g2_Setup_ssd1305_i2c_128x32_noname_1` and the standard MakeFile and standard main.c. but still nothing happends with de display while uart is giving me feedback that it did init i2c, init display and that its supposed to be drawing on screen. |
dit is wel echt flink kut sil hopelijk heb je het al opgelost groetjes aan je zusje |
Is this issue still relevant? If so maybe
Does the trick? (Other candidates for values of I have to admit that I never really used the u8g2 package myself. I could give it a look, though. |
Description
Getting no i2c clockline and data line change. With the nucleo-l452re board. when using the u8g2 pkg included in the makefile.
Steps to reproduce the issue
My studentgroup and I want to setup a Oled display, so we can display battery info on it. sadly enough my i2c is not doing anything when analysing it with a logic analyser attachted to my computer.
I am using an SSD1306 128x32 Oled display by Univision
We first tested the display with an arduino and it all worked fine with the display. now we are trying it on the nucleo-l452re and it is not showing anything.
display I/O connections
SCL -> PB8
SDA -> PB9
3V3 -> 3V3 OR 5V -> 5V
GND -> GND
Now if i try to flash the file to the board i'll get no error's at all and its looping to the code just fine, i tested it with extra print statements to the serial monitor.
Thanks in advance!
Actual results
Operating system: UBUNTU on a docker with Windows 10 as host
Build environment: ARM toolchain
The text was updated successfully, but these errors were encountered: