This example demonstrates how to use the NB2 DS1391 real time clock device driver and the SPI Arbiter.
When the example is started the SPI Arbiter writes the compilation time of
main.c to the DS1391, then continuously reads it back and displays it on the Terminal Instrument. Since the access of SPI bus on NB2 is granted to the application, the NB2 firmware will be unable to update the clock and the LCD touchscreen. The example demonstrates the use of DS1391 Real Time Clock Driver, SPI Bus Arbiter, Serial Device I/O Context for serial output via the terminal instrument.
The TSK3000, Terminal Instrument, SPI and SRAM controller cores are used in this example.
Altium Designer projects included in this download:
- SPI_Arbiter.PrjFpg
- SPI_Arbiter.PrjEmb