Part Number:MSP430FR2311
Tool/software: TI C/C++ Compiler
I have a custom PCB built using MSP430FR2311, LIS3DH and, LTR303. I'm able to read/ write to the registers of LIS3DH and LTR303 and get the necessary data, when I build the code in 'Debug' mode with Optimization level set to '3' and Speed vs Size trade-off set to '3'. But, when the build configuration is set to 'Release' mode, I2C doesn't read anything from the registers of LIS3Dh and LTR303. Is there anything that needs to be done specifically for Release mode?