Math Talk

This continues the third part of the inquiry Math Talk. This short section shows a master implementation of the message protocol described earlier. The C++ implementation builds on to the moving bytes code shown earlier.

Messages Exchange with Arduino as Master

Again, we’ll use the support library for the serial peripheral interface. The code shown below was tested on an 3.3 Volt Arduino UNO R3 connected to the FPGA implementation described on the next page. Let me say this again, we connect to a 3.3 Volt Arduino. For details refer to the first part of this article.

Sources

You can download or clone this project through Github.

The next page describes an implementation of the FPGA Slave on a FPGA.

Embedded software developer
Passionately curious and stubbornly persistent. Enjoys to inspire and consult with others to exchange the poetry of logical ideas.

5 Replies to “Math Talk”

  1. Very well explained. I am looking some details with respect to interfacing Arduino with FPGA (Altera) using I2C where FPGA is a master and arduino is slave.

  2. Can we use this project to establish a communication between Arduino and FPGA?

  3. The Two-stage shift register here is used to synchronize only the serial clock coming from Master. Right? Or do we need to sync the rest signals (i.e MOSI, SS, MISO) ??

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.