I installed Arduino IDE 2.3.6 on my Windows 11. I installed "Arduino Mbed OS Giga boards" ver 4.3.1.
When I connect my Giga to USB I see it on COM20... but I just see it as "Arduino Giga R1", not "Arduino Giga R1 Wifi":
I try via ChatGPT to get this to work. It says I remove the library, delete some files and try to installed it again. But it´s still "Arduino Giga R1". Everytime I says, "I can´t see ´GIGA R1 WiFi´" it´s saying I need to remove and install again to get I2S to work.
Should I see "Arduino GIGA R1 Wifi" in borads manager? If I include "<WiFi.h>" I got no error.
How can I get <I2S.h> to work on my Arduino GIGA? What do I need to install?
Anyone including an AI that tells you to re-install something is just wasting your time. If you are unsure, load a sample WiFi sketch from among the following
In another project I ask for a Ice cream and got one virtually.
I ask another chatGPT-bot (not logged in) and it says Arduino Giga R1 WiFi has STM32H7-processor and it has I2S hardware support, but not documented and no offical library to use with Giga... yet.
To activate I need to go via STM32CubeMX and do a lot special coding.
I probably use a ESP32-S3-Zero and convert between I2S to SPI or something.
From the datasheet...
"Up to 35 communication peripherals 6× SPIs, 3 with muxed duplex I2S audio class accuracy via internal audio PLL or external clock, 1x I2S in LP domain (up to 150 MHz)".
It´s included on the processor, but not implemented in GIGA. It says also 6xSPI, but GIGA only had two of them supported SPI1 and SPI5.
With this library I could probably get a I2S stream direct into GIGA.
Now just figure out wich pin on my GIGA goes where on my I2S-soundcard... because I can´t found PG11.
Edit: Found PG11(D62 ) on a PIN used for Giga Display... Now is the intresting thing if i must use this pins or if I can use another ones and what the "function" for each pin needs to be.
Code that recive some data from I2S on GIGA via AdvanceAnalog.h library... D62 is an extra connector on my display-card, and not used by the display. So it´s no problem to use it.
#include <Arduino.h>
#include <Arduino_AdvancedAnalog.h>
//AdvancedI2S i2s(WS[D62], CK[D44], SDI [D89], SDO, MCK);
AdvancedI2S i2s(PG_10, PG_11, PG_9, NC, NC);
void setup() {
Serial.begin(115200);
while (!Serial);
Serial.println("Starting I2S Input Test (GIGA via AdvancedI2S)...");
if (!i2s.begin(AN_I2S_MODE_IN, 44100, 512, 8)) {
Serial.println("Failed to initialize I2S input!");
while (1);
}
}
void loop() {
if (i2s.available()) {
auto buffer = i2s.read();
Serial.print("Samples: ");
for (size_t i = 0; i < buffer.size(); i++) {
Serial.print(buffer[i]);
Serial.print(", ");
}
Serial.println();
buffer.release();
} else {
Serial.println("Waiting for I2S...");
}
delay(250);
}
When I later try my code to a GIGA Display and FFT I can see ther´s something going one when I start and stop my music. Unfortunality I need to work some more with the settings.