Other Parts Discussed in Thread: MSP-EXP430FR2355,
Hi
in MSP-EXP430FR2355 Software Examples, we try to use i2c module.
The program link to msp430fr2355.h, however, when it try to initial register UCBxCTLW0
i.e
HWREG16(baseAddress + OFS_UCBxCTLW0) = UCSWRST;
the control bit UCSWRST comes from eUSCI_A0 Control Bits definition in the following
=================== msp430fr2355.h=====================================
/* eUSCI_A0 Control Bits */
/* UCA0CTLW0 Control Bits */
#define UCSWRST (0x0001) /* Software reset enable */
#define UCSWRST_L (0x0001)
=====================================================================
Does tis look ok to you?
It looks to me that header file is out of sync with the data sheet.
I am expecting this from eUSCI_B0 Control Bits.
please advice
Thanks