I want to use External RTC as I can have a backup battery for time for day of year application. I am also using an LCD on pins 28, 29, 30, 31 of MSP430F169 Microcontroller. Need help in interfacing the RTC also
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.
I want to use External RTC as I can have a backup battery for time for day of year application. I am also using an LCD on pins 28, 29, 30, 31 of MSP430F169 Microcontroller. Need help in interfacing the RTC also
The BQ32000 uses an I2C interface. On the MSP430F169, the USART which supports I2C is available on P3.1/SDA and P3.3/SCL which are pins 29 and 31 respectfully. Unfortunately, you state these are already consumed by your LCD, presumably with the SPI interface.
Therefore, you will need to implement an I2C master interface using General Purpose I/O bit-banging methods. At this point, you can use whatever pins you want that support a Port I/O.
EDIT : Or is there any chance you could connect the LCD SPI interface on USART1 which supports SPI, and have USART0 implement I2C?
Can You please give me an LCD model which i can connect to USART1 Pins 34,35 and how?
I'm not sure I understand what you are asking.
On the MSP430F169, the USART1 (SPI mode) is on pins 44, 45, 46 and 47.
This is indicated in the MSP430F169 datasheet in the pin designation figure on page 3 and in the Terminal Functions table on page 7 and 8.
**Attention** This is a public forum