Skip to content
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 in Firmware 1.7.1-preview.966 #871

Closed
alberk8 opened this issue Oct 16, 2021 · 4 comments · Fixed by nanoframework/nf-interpreter#2103
Closed

I2C not working in Firmware 1.7.1-preview.966 #871

alberk8 opened this issue Oct 16, 2021 · 4 comments · Fixed by nanoframework/nf-interpreter#2103

Comments

@alberk8
Copy link

alberk8 commented Oct 16, 2021

Details about Problem

Target:
ESP32

Firmware image version:
ESP32_PSRAM_REV0-1.7.1-preview.966

Worked before? If so, with which nanoFramework image version:
Works on ESP32_WROOM_32-1.7.1-preview.939

Device capabilities output:

System Information
HAL build info: nanoCLR running @ ESP32 built with ESP-IDF v4.3.1
  Target:   ESP32
  Platform: ESP32

Firmware build Info:
  Date:        Oct 13 2021
  Type:        MinSizeRel build, chip rev. >= 0, without support for PSRAM
  CLR Version: 1.7.1.966
  Compiler:    GNU ARM GCC v8.4.0

OEM Product codes (vendor, model, SKU): 0, 0, 0

Serial Numbers (module, system):
  00000000000000000000000000000000
  0000000000000000

Target capabilities:
  Has nanoBooter: NO
  IFU capable: NO
  Has proprietary bootloader: YES

Description

The Oled display is not displaying any output.

Detailed repro steps so we can see the same problem

use the sample code here.
https://github.com/nanoframework/nanoFramework.IoT.Device/tree/develop/devices/Ssd13xx/samples

...

Other suggested things

Expected behaviour

Display on OLED

A clear and concise description of what you expected to happen.

Screenshot

Additional context

Add any other context about the problem here.

Make an effort to fix the bug

Attempt to submit a Pull Request (PR) that fixes the bug. Include in this PR a test that verifies the fix. If you were not able to fix the bug, a PR that illustrates your partial progress will suffice.

@Ellerbach
Copy link
Member

Couple of questions:

  • have you properly setup the pins for the I2C functions?
  • Are you using the proper I2C?

@alberk8
Copy link
Author

alberk8 commented Oct 16, 2021

yes, the pins are all correct. The same hardware and setup work if I flash with the older preview firmware ESP32_WROOM_32-1.7.1-preview.939

@alberk8
Copy link
Author

alberk8 commented Oct 19, 2021

I have just tested again. The I2C only works on ESP32_REV0 and not on ESP_PSRAM_REV0.

@josesimoes
Copy link
Member

Improvement (and hopefully definitive fix) with nanoframework/nf-interpreter#2106.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants