Description
Investigate the SPI module within the PIC18F452 and write a report (like a set of lecture notes) to explain the following:-
What does SPI mean?
What is it used for?
How does it work (master mode + slave mode)?
How does it connect to other devices?
How is master mode setup on a PIC (using C operations on SPI control and data registers)?
How would it connect to a Microchip TC72 Digital Temperature Sensor with SPI interface.
Write a MikroC program using the SPI control and data registers that would read the temperature value from a TC72 sensor and display it on a PIC PORT.
SPI (synchronous Peripheral Interface)
August 8th, 2017 admin