Lepton + STM32F4

79 views
Skip to first unread message

Pablo

unread,
Jan 9, 2025, 9:26:42 AMJan 9
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
Reply all
Reply to author
Forward
0 new messages