Computer is like human body each part has its own function but without working together it will never work. In order to microprocessor to work, it need to communicate not only with the internal parts but also with the outside such as: peripheral. Microprocessor communicate with the peripheral with something known as data line / address line and interfaces. According to Sparckfun company : there are two type of interface: parallel which transfer several bit at the same time using several wires, and serial which use two wire to transfer bit at time one to receive and the other is to send the data. The R5F2M120ANDD is work with serial interface, however, it also contain of something known as A universal asynchronous receiver/transmitter (UART) mode which work as an intermediary between the parallel transfer and the serial transfer. There three pin type for the serial communication on this microprocessor:
• TXD0 which is a serial for data output
• RXD0 which is a serial for input data
• CLK0 which is the transfer clock for the input and the output
By taking a look at the datasheet of the microprocessor, different tables label as serial interface show that the time taking to send, or hold data in nanosecond is different. It also show that the time of sending data …show more content…
Using the software emulation the microprocessor was able to do the basic mathematic