Other Parts Discussed in Thread: EVM430-FR6043
When using evm430-fr6043, msp430fr6043 uses I2C and IRQ for communication. I don't quite understand the role of IRQ and the timing relationship with I2C.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When using evm430-fr6043, msp430fr6043 uses I2C and IRQ for communication. I don't quite understand the role of IRQ and the timing relationship with I2C.
Hi Meng Hi,
I would recommend reading through the MSP Academy: I2C Communication. To answer your question specifically, using an IRQ allows the CPU to sleep (or perform other tasks) ultil the I2C peripheral needs attention (ex: ready to send a new byte, or finished receiving a byte). Take a look at the USCI_B0_ISR() in the code example msp430fr243x_eusci_i2c_standard_slave.c.
Hope that helps.
Best,
Evan
Hi Meng Hi,
Could you clarify what you mean by "interrupt timing"? The I2C has the ability to generate many interrupts, see section 32.4.16 in the User Guide
Regards,
Evan
**Attention** This is a public forum