Lepton + STM32F4

98 views
Skip to first unread message

Pablo

unread,
Jan 9, 2025, 9:26:42 AM1/9/25
to Flir Lepton
Hello,
I am trying to implement the firmware “purethermal1-firmware-1.3.0 with the Nucleo-F401RE board. The first thing I would like to ask is a description of the jumpers or a schematic of the breakout board v2.0. There are some pins like Master_Clk that I don't know exactly how they work. I just saw in the oscilloscope that the 25MHz oscillator is available on that pin.
The second thing would be help with the code. I can communicate with the Lapton 2.5 via the I2C, I can read the serial number of the camera and other values, but when the code wants to set an attribute with the function “LEP_I2C_SetAttribute” I get the following error “LEP_RANGE_ERROR” and I don't know what the problem is.
This is happening right here:
  LEP_SetOemGpioVsyncPhaseDelay(&hport_desc,LEP_OEM_VSYNC_DELAY_PLUS_2);
  LEP_SetOemGpioMode(&hport_desc, LEP_OEM_GPIO_MODE_VSYNC);
I get the error here as well:
 /* set a default color lut so radiometric parts produce reasonable pseudocolor images */
  result = LEP_SetVidPcolorLut(&hport_desc, PSUEDOCOLOR_LUT);
  if (result != LEP_OK) {
    DEBUG_PRINTF(“Could not set default color lut: %d\r\n”, result);
  }
I would really appreciate your help.

Thank you in advance.
Best regards, Pablo

Daichi Monma

unread,
Jan 13, 2026, 12:04:29 PM (20 hours ago) Jan 13
to Flir Lepton
Hi Pablo, Were you using the Nucleo F401RE board because you were using a Pure Thermal 3 board from GroupGets? I'm starting to work on this using Lepton 2.5, Pure Thermal 3 that runs the STM32F4 chip. My firmware shows up at fw:1.3.0, so maybe the same firmware you were using. Although the STM32 shows up as USB video devices, there are no frames being sent. Are you still working on this? Did you get firmware 1.3.0 to work? 

Thanks, 
Daichi

Daichi Monma

unread,
Jan 13, 2026, 12:07:49 PM (20 hours ago) Jan 13
to Flir Lepton
I'm using the Lepton 3.1R actually ^ 
Reply all
Reply to author
Forward
0 new messages