Associate
June 21, 2023
Question
Interfacing lepton camera with stm32f103c8t6
- June 21, 2023
- 3 replies
- 8704 views
I am trying to capture image from flir lepton 3.5 thermal camera module using STM32F103C8T6 to read raw pixel data and convert them to temperature values. I am not receiving the raw data properly.
// Select the Lepton 3.5 module by pulling the CS pin low
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_4, GPIO_PIN_RESET);
SPIx_Write(0x00);
SPIx_Read();
HAL_Delay(10);
// Deselect the Lepton 3.5 module by pulling the CS pin high
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_4, GPIO_PIN_SET);
This is the code snippet i am using to capture image. I am not using any particular library for this camera, using only hal drivers. If we need to use lepton library please attach its github link. Please help to get the proper correct raw data from the camera. The image captured also is been attached below.
