Hello,
based on the csi_rgb565.c, I am going to extend the JPEG Encoding function integrated with the samlpe code of AN12110.
The code is running until the line
jpeg_start_compress(&cinfo, TRUE);-->
(*cinfo->master->prepare_for_pass) (cinfo); //stop
in JpegCompress(uint32_t Buffer):
Versions:
SDK Version 2.9.1, MCUXpresso IDE 11.3.0
Since the camera and display share a small size 480x272,
I did not change the default memory settings from csi_rgb565.c shown as attached pic.
I am not sure if it could cause the failure.
My code is attached below.
Regards,
Nanjun