LPC810 with PCF8563 I²C Real-Time Clock

A little circuit to try out the built-in I²C driver of the LPC810. Thanks to the Switch Matrix the I²C interface can be connected to the few available pins of the LPC800 Mini Kit board. The I²C driver is used in polling mode.
A little circuit to try out the built-in I²C driver of the LPC810. Thanks to the Switch Matrix the I²C interface can be connected to the few available pins of the LPC800 Mini Kit board. The I²C driver is used in polling mode.
The on-board LED flashes once per second, clocked from the LPC810's internal timer, not the RTC. The RTC time is read once per second and transmitted on the serial port (115200n81). Its century bit is not used.
The RTC can be adjusted over the serial port by sending a string of the format hh mm ss dd MM yy D<CR><LF>, where:
- hh = hours
- mm = minutes
- ss = seconds
- dd = day
- MM = month
- yy = year
- D = weekday (Sunday = 0, Saturday = 6)
The serial port is compatible with a 3V3 FTDI cable.
The software is an Eclipse project based on the LPC812 LPCXpresso LPCware library but adapted for the LPC810 Mini Kit. It must be compiled for release mode, otherwise the executable will not fit.
Discussion (1 comment)
NECV20 10 years ago
I thought I give it try.
So I downloaded the project, started LPCXpresso with a nice clean workspace, imported the project(s) - I got four, and gave Expresso the order to build. 5 Errors and 42 warnings!!!
It seems that the IDE looks for all kind of files in the wrong places (not in the workspace map obviously) and board.h seems unfindable.
ClemensValens 10 years ago
NECV20 10 years ago
ClemensValens 10 years ago