Nano RP2040 Connect working Dual Core usage?

Hey,

Has anyone gotten a working example of using both Cores of the RP2040 on a Nano? I've tried following a few examples of YT and none of them seem to work.

For example, this sketch by Gary Explains, work is his video on a Pi Pico but when I try compiling the same sketch on my Nano it shows the loop() counting up and no loop1() counting down

int count0, count1;

void setup() {

  Serial.begin(115200);
  while (!Serial) {
    delay(1);  // wait for serial port to connect.
  }

  count0 = 0;
}

void setup1() {
  count1 = 1000;
}

void loop() {
  Serial.print("loop(): ");
  Serial.println(count0);
  count0++;
  if (count0 > 1000)
    count0 = 0;
  delay(1000);
}

void loop1() {
  Serial.print("loop1(): ");
  Serial.println(count1);
  count1--;
  if(count1<=0)
    count1 = 1000;
  delay(2500);
}

For me working fine. I use Pico RP2-80 20/30 P64M15 marked on the chip

It works on a Raspberry Pi Pico W, but doesn't on a Arduino Nano RP2040 Connect.
Does anyone know why?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.