cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 JPEG Encoder HAL Driver Not Supporting RGB from Datasheet

chornbeck
Associate II

I'm developing camera-related things on the N6, and while perusing the JPEG encoder, I noticed that the datsheet and registers for it seem to indicate it can convert raw RGB (565? 888?) to JPEG. This is alongside Grayscale, YUV, and CMYK. However, in the HAL driver, there only seem to be defines and code around the last three. There are defines and support for Greyscale, YCbCr (which I assume to be YUV from the datasheet? But that is also confusing), and for CMYK. But there is little to no reference at all of the RGB options in the JPEG encoder. Is this functionality not supported? Am I missing something? Is it a bug in the firmware? 

While I'm on the subject, am I able to pump the YUV420 planar from the DCMIPP into the JPEG Encoder? The datasheet suggests I can but all examples and information I canf ind online suggests I need to convert it to YCbCr first, but I thought they were the same?

Thanks for Support

0 REPLIES 0