Question/Issue:
Failed to run hello world on nrf 52840 sense ( inbuilt microphone)
project ID 1116881
Beginner , following the edge impulse demo video " hello world " to turn on a LED
-getting an error message when
I have uploaded the sketch on arduino.
Trying to use a Xiao Seeed nrf52840
Have struggled through and hitting a wall
Can run this using my mobile phone as the processing device/ input source- when trying to run this on nrf 52840 , not running.
Expected Outcome:
Was hoping to see this run and output a value to the serial plotter or monitor .
Actual Outcome:
Getting a simple error message - “Failed to initialize the model (error code 1 )”
Then
"Failed to run classifier ( error -6) "
Reproducibility:
[ ] Always
Running on Arduino IDE on a Windows machine and a Seeed nrf52840
IF anyone can assist at all that would be greatly appreciated!!
I have tried to copy along from the demo video as best possible …
Thanking all
Hi @Tinker1
which sketch are you uploading? Some details about the code you are trying to run (and also the tutorial you are following) would help us understand where the issue is.
The -6 classifier error is likely a follow-on: if model initialization returns error 1, the classifier never has a valid model to run. On the XIAO nRF52840 Sense, first check that Tools > Board is set to the Sense variant, not the plain nRF52840, and that the Edge Impulse Arduino library and exported model match. Also confirm the sketch calls the correct model header/namespace and initializes the PDM microphone for that board. If you can paste the sketch or tutorial link, we can check whether it was exported for a different board.