Final week at Aeste

This week I am still working on the data corruption error when testing the write operations of each modules together. It took me quite a while to find out which part of JavaScript went wrong as I have to analyze every line of JavaScript codes related. The error occurs in Read more…

Display Data on Schematic

This week I tried to show the data values on the simulator schematic when performing data transmission with UART, MSPI or I2C. When successfully reading or writing data, user will be allowed to see that the data in hexadecimal values are displayed beside the related ports of the module. To Read more…

Null Termination Issue

This week I have been trying to make the read and readstring function working in the simulator. There are two main problems: Read function can only return the same data byte every time it is called. For example, when a string “HELLO” is written to the data register, read function Read more…

Object Mapping Issues

This week I am rewriting the read and write functions in C programming for UART. Dr Shawn really taught me a lot about the easy and correct way to write the codes. Next I need to make sure that the¬†information are stored to the respective address correctly when the instructions Read more…

Registers for UART, SPI and TWI

This week Dr Shawn has explained to me the internal registers of UART, SPI and TWI. Basically these modules has two registers: status register and data register. Status register, from its name we know that this register contains information about the state of the device. Data register contains the data Read more…

UART in Simulator

This week I am working with UART (Universal asynchronous receiver/transmitter). UART is a device that used for serial communication over a peripheral device serial port or computer. UART takes bytes of data and transmits the individual bits in a sequential fashion. UART consists of a data bus with several data Read more…

Master SPI

This week, I have been trying to complete the Master SPI module (MSPI) as soon as possible. In the simulator, the MSPI is suppose to send data to a device and/or read data from a device. This can be done by using the same function. I created a ‘transfer’ function Read more…

Touch Sensor to SPI

My progress is very slow as I merely managed to complete one module, which is the sensor module. The sensor finally worked on the simulator. Whenever the touch pad is clicked, the sensor will detect and return HIGH. The user can then perform any actions based on the output from Read more…