Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22190

Compiler/MSP430FR2311: Build configuration (Debug/ Release) affects I2C read/ write

$
0
0

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?


Viewing all articles
Browse latest Browse all 22190

Trending Articles