Question
HAL_I2C_Mem_Read on SMT32L0 causes HardFault
I call this function a very large amount of times through out my entire program however in just one spot I reliably get a Hard Fault when it's called.
When this line is executed, the fault occurs.
(*hi2c->pBuffPtr++) = hi2c->Instance->RXDR;I called this function from other higher level functions which are also used a very high number of times in the program so memory allocation should not be a problem. Any one have can suggestions?
Thanks
George
