Tagged: spi

Registers for UART, SPI and TWI 0

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...

SPI ADC with PIC32 Harmony 0

SPI ADC with PIC32 Harmony

This week I continue doing emulating ADC based on the proper protocol of SPI ADC from Microchip – MCP3204/3208 From the document table 5-1: state that to initiate a ADC read for specific channel,...

Emulating ADC 0

Emulating ADC

This week I did some programming on PIC32 ADC and SPI functions. The goal is to transfer ADC value from PIC through SPI to a FPGA chip. FPGA chip will act as a ‘Master’...

UART and SPI Communication 0

UART and SPI Communication

This week I worked on the UART communication. My task is to transmit and receive the bytes of data via the RS232 port of the PICDEM.net 2. Dr. Shawn gave me a brief on...

Week 08 – HTTP2.c Meets SD-SPI.c 0

Week 08 – HTTP2.c Meets SD-SPI.c

Continuing from the last week, the reason that why the connection will be timed out when uploading a larger file is due to the modification I made to calculate the data size uploaded. The...

Week 3: MSPI Driver 0

Week 3: MSPI Driver

There goes another week. Task for this week is quite similar to last week’s, I was asked to write a MSPI driver. Before I started, I had no idea what it is and what...

http://www.sxc.hu/photo/1159613 0

Week 0011

Miracle! The design we’ve been working on in the previous week works perfectly! Honestly speaking the main merit goes to my colleagues, as their part was more crucial (mine was just a wishbone master...

My 2nd week at AESTE 0

My 2nd week at AESTE

They say the first week is always the hardest. At the start of my second week, I was supposed to get the computer to read and write into an SD card by programming the...

Week 5: SPI done! 1

Week 5: SPI done!

So it has been 2 weeks since the last time I’ve blogged and a lot have happened since then. Today we just finished the design and testing of the SPI peripheral device. That includes...