cancel
Showing results for 
Search instead for 
Did you mean: 

HardFault_Handler() at stm32l4xx_it.c:61 0x8000882 in STM32CUBEL4 proximity example

Sundar santhanam
Associate II

https://github.com/STMicroelectronics/STM32CubeL4/tree/master/Projects/B-L475E-IOT01A/Applications/Proximity

Hi,

I was going through the example of promixity sensor of B-L475E-IOT01A board in the github stm32l4cube repository. i compiled the code and debugged it. After dumping the program into my board and while trying to get the values in hyperterminal I get the following error, HardFault_Handler() at stm32l4xx_it.c:61 0x8000882 . to be noted that I got this error only after I entered the command in my hyperterminal to view the sensor values.

Can anyone help me with rectifying this

Thanks!!!

10 REPLIES 10
Sundar santhanam
Associate II

commented

the 2094-2098th lines in vl5310x_api_core.c

Status = VL53L0X_calc_sigma_estimate(
 
			Dev,
 
			pRangingMeasurementData,
 
			&SigmaEstimate,
 
			&Dmax_mm);