Re: by Azertymon
Thank you for your answer and your confirmation.
So I guess, somewhere, there is a problem in the configuration I have and I will try to solve this.
The camera is the IU233 color model.
The configuration I spent the most time on was:
A Raspi zero (W) running 2017-07-05 jessie with SSP 1.26 and VPF 1.04.
(At the beginning I was working on used 2018-06-27 Stretch with SSP1.30 and VPF 1.05 and quickly tried by downgrading the OS to 2017-11-29 Stretch with SSP1.29 and VPF 1.05, but the results weren't any different)
Which revisions or config.txt modification are you interested in ? I don't think I made awkward modifications though.
To describe more:
None of the samples are working: they are compiling and running, but only send a few frames before the callbacks functions stop being called.
The profiles I am trying to load are the followings:
* - "Profiles/256x200@240Hz.xml"
* - "Profiles/640x480@60Hz.xml"
* - "Profiles/640x400@60Hz_bin.xml"
* - "Profiles/640x400@120Hz_bin.xml"
But it just for the glory of testings because only the 640x480 or 640x400 really matter.
In the configuration settings of the SSP library, I'm using:
p_settings.lib_settings.NumFrameFIFOSize = 16;
p_settings.lib_settings.NumThreadForBuildInPreprocess = 4;
p_settings.lib_settings.NumFrameFIFOSize = 2;
p_settings.lib_settings.NumThreadForBuildInPreprocess = 0;
I've noticed that using a higher number of FIFO frames change the number of frames I received before the bug. (The number of threads, doesn't change anything).
I am currently thinking that I may have a GPU/CPU memory allocation trouble. What allocation is it recommended to use?
Also the raspberry zero w only have 1 core, thus if some 'busy wait' are used, it may bother the entire application.
The VPF application is suffering of the same troubles, so I haven't played with it too much.
Anyway, if you confirm that Raspberry Pi Zero W + IU233 can work, I just have to try harder !