cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor
Visitor
594 Views
Registered: ‎02-14-2019

What protocol it's more easy to use..I2C or SPI in verilog?

Hello, I'm new with the HDL with verilog and I want to know what it's the protocol more easy to use to conect a lcd screen on Nexys4 DDR XC7A100T-1CSG324C... the I2C protocol or SPI protocol and there are an example of the code.

thx

Tags (4)
0 Kudos
1 Reply
Highlighted
Explorer
Explorer
585 Views
Registered: ‎07-18-2018

Re: What protocol it's more easy to use..I2C or SPI in verilog?

Hi @jpsuarezq,

Digilent is nice in that they put examples using most of the on board devices on their site:

https://store.digilentinc.com/nexys-4-artix-7-fpga-trainer-board-limited-time-see-nexys4-ddr/

It looks like they have RTL for the RAM module:

https://github.com/Digilent/Nexys-A7-100T-OOB/blob/de23e9111bfef268624559537002bc33d6cca009/src/hdl/Ram2Ddr.vhd

Which is where I would start.

As for SPI vs I2C, I generally find SPI a bit easier to code up. But there are a lot fo good examples floating on Github so neither should be limiting.

 

 

 

 

 

 

 

0 Kudos