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

1.12.0 RMT Error on ESP32-C3 #371

Open
rcmontrose opened this issue Nov 9, 2023 · 3 comments
Open

1.12.0 RMT Error on ESP32-C3 #371

rcmontrose opened this issue Nov 9, 2023 · 3 comments

Comments

@rcmontrose
Copy link

I just updated to the 1.12.0 version of the Library, and when running on an ESP32-C3 board, when running the NeoPixel Ring simple sketch, it doesn't display on the LED strip and gives errors when communicating to the LEDS. The code works fine with the 1.11.0 library, though it gives the deprecated rmt warning.

  void setup() {
    Serial.begin(2000000);
    Serial.setDebugOutput(true);
    delay(2000);
  
    Serial.println("Setup");
    pixels.begin(); // INITIALIZE NeoPixel strip object (REQUIRED)
    Serial.println("pixels.begin");
  }
  
  void loop() {
    Serial.println("Loop");
    pixels.clear(); // Set all pixel colors to 'off'
    Serial.println("pixels.clear");
  
    // The first NeoPixel in a strand is #0, second is 1, all the way up
    // to the count of pixels minus one.
    for(int i=0; i<NUMPIXELS; i++) { // For each pixel...
  
      // pixels.Color() takes RGB values, from 0,0,0 up to 255,255,255
      // Here we're using a moderately bright green color:
      pixels.setPixelColor(i, pixels.Color(0, 150, 0));

      pixels.show();   // Send the updated pixel colors to the hardware.
      Serial.println("pixels.show #"+String(i));
  
      delay(DELAYVAL); // Pause before next pass through loop
    }
    Serial.println("Complete");
  Setup
  pixels.begin
  Loop
  pixels.clear
  E (2135) rmt: rmt_new_tx_channel(210): invalid interrupt priority:-1515870811
  [  2104][E][esp32-hal-rmt.c:518] rmtInit(): GPIO 10 - RMT TX Initialization error.
  [  2104][E][esp.c:41] espShow(): Failed to init RMT TX mode on pin 10
  E (2136) rmt: rmt_new_tx_channel(211): invalid interrupt priority:1070159236
  [  2106][E][esp32-hal-rmt.c:518] rmtInit(): GPIO 10 - RMT TX Initialization error.
  [  2107][E][esp.c:41] espShow(): Failed to init RMT TX mode on pin 10
  pixels.show #0
  E (2638) rmt: rmt_new_tx_channel(211): invalid interrupt priority:1070159236
  [  2607][E][esp32-hal-rmt.c:518] rmtInit(): GPIO 10 - RMT TX Initialization error.
  [  2607][E][esp.c:41] espShow(): Failed to init RMT TX mode on pin 10
  pixels.show #1
  E (3139) rmt: rmt_new_tx_channel(211): invalid interrupt priority:1070159236
  [  3108][E][esp32-hal-rmt.c:518] rmtInit(): GPIO 10 - RMT TX Initialization error.
  [  3108][E][esp.c:41] espShow(): Failed to init RMT TX mode on pin 10
  pixels.show #2
  E (3640) rmt: rmt_new_tx_channel(211): invalid interrupt priority:1070159236
  [  3609][E][esp32-hal-rmt.c:518] rmtInit(): GPIO 10 - RMT TX Initialization error.
  [  3609][E][esp.c:41] espShow(): Failed to init RMT TX mode on pin 10
  pixels.show #3
  E (4141) rmt: rmt_new_tx_channel(211): invalid interrupt priority:1070159236
  [  4110][E][esp32-hal-rmt.c:518] rmtInit(): GPIO 10 - RMT TX Initialization error.
  [  4110][E][esp.c:41] espShow(): Failed to init RMT TX mode on pin 10
  pixels.show #4
  E (4642) rmt: rmt_new_tx_channel(211): invalid interrupt priority:1070159236
  [  4611][E][esp32-hal-rmt.c:518] rmtInit(): GPIO 10 - RMT TX Initialization error.
  [  4611][E][esp.c:41] espShow(): Failed to init RMT TX mode on pin 10
  pixels.show #5
...... and so on for all the pixels......

Using Arduino IDE 2.2.1 on ESP32-C3 board and Expressif 3.0.0.0-a runtime with Core Info level diagnostics

@shlomozippel
Copy link

Unfortunately it seems like the C2 doesn't have the RMT peripheral

@dhalbert
Copy link
Contributor

dhalbert commented Feb 18, 2024

@rcmontrose Did you mean ESP32-C2 (not C3) in your post? The C3 has RMT; the C2 does not, @shlomozippel mentioned.

@rcmontrose rcmontrose changed the title 1.12.0 RMT Error on ESP32-C2 1.12.0 RMT Error on ESP32-C3 Feb 18, 2024
@rcmontrose
Copy link
Author

Sorry Dan, I did mention ESP32-C3 in the post but mislabeled the title. I've corrected the title to ESP32-C3.

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

No branches or pull requests

3 participants