Thanks for the link and advice @TE-KarlKomierowski . I just need to do a quick and dirty demo without burning the Spresense in the process. I won't use those batteries on real deployments because they can easily leak toxic fluids.
Probably I get an error message when I try the git command because the ZIP download already exists. I thougt that the library file wasn't installed.
But the next problem is that the example Sketch audio_scope already gives an error message by compiling it, and I don't have the knowledge to understand the code completely.
Until now I thougt that the Sketch wouldn't work because the required library wasn't available.
I have taken over the Sketch litterally from the Sony Spresense Sample Projects tutorials.
What is here going wrong?
I enabled the DMA option as you suggested, but I did not notice any change to the severity of the flickering. I also checked ILI9340_SPI_MAXFREQUENCY and it was set to 40000000 just as your example.
I agree regarding the NX graphics + framebuffer usage. No sense in re-inventing the wheel. Now that I have discovered a "hook" into the framebuffer, the NX documentation might make a little more sense. I will revisit and research a bit more.
I will definitely keep this thread updated...I also think it is an important dev topic and worth digging into. Stay tuned!
In the last code the ErrEnd will be set true when you get an error, if you instead of executing goto exitSketch just stop and restart the recording things shouldn't freeze. I have not verified this to 100% but I got this information from a college.
I'm intrigued about the possibility of moving my Teensy 3.6 based quadrature dsp work to the Spresense. Currently I use I2S input to and from an external 16-bit codec as the real-time IO and process in length 128 blocks. I haven't yet purchased an Spresense, because it seems that the audio libraries are limited to recording and playback of speech/music. Is there a way to do block processing of a continuous raw data stream in the SDK? I can't seem to find any reference to line-in/out levels in the reference stuff...
Hi @TE-KarlKomierowski Thx, I don't need a superb accuracy, I use it to know where the camera is looking to in order to tell other devices that a "subject of interest" be it a Jaguar or a Human is going in that direction once the subject runs out of the visual scope of one the camera (a multi camera tracking scenario)
I integrated one already (I don't wan't to keep it, for power consumption and simplicity reasons) but I wanted to know if I have to design the case including that part or not. I will keep it for a while then.
Hi @TE-KarlKomierowski , I was talking about unused pins (I wasn't explicit about the unused word sorry, avoiding floating pins), setting unused pines as OUTPUT or INPUT helped a lot on other hardware I use. So, OUTPUT-HIGH, thx.
Thanks also for the suggestion, that thing looks really cool and useful.
I am trying to run a multi-threaded program on the SPresence microcontroller using the Arduino SDK however, I am not sure how to create threads using the SDK. Would anyone be able to do a simple demonstrate how to create & end threads, wait for a thread, and send information to a thread with some code?
To analyze a stack dump the Spresense full SDK provide a tool where you can specify two files as arguments. One is your saved log file, and the other one is the system map file. Doing that you should be able to get the stack trace. If you have build your software with the Arduino IDE you should be able to find where your map file is located in the Arduino IDE log window. Go to File -> Preferences -> Settings -> Show verbose output during and select compilation and when you build your sketch you should be able to find where your build folder is. Normally this folder would be located in /tmp and look something like this: