Other Parts Discussed in Thread: LM49450
Tool/software: Code Composer Studio
Hello again,
1. The example "i2c_mastermode_simple_transfer.c" does not work.
2. I got the example working by registering the IRQ handler "void I2C1_IRQHandler(void)". In the example, it has not been registered and hence had not been executed. Obviously, in the MSP432 universe, IRQ handlers must be registered explicitly. I come from the AVR universe, where interrupt handlers are implicitly (automatically) registered by their names, e.g. "ISR(PORTA_PORT_vect) { ... }".
3. My approach without IRQ by polling the I²C peripheral's flags still does not work for unknown reasons, although it should (and occasionally does).
4. I worked around it by executing the command for sending the first data byte (i.e. LM49450's register descriptor) twice. Now it works properly.
Problem is solved. (I could not mark the original thread as "solved" because it has been locked meanwhile, but I wanted to share this information with the community.)