-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:efabless/EF_SPI
- Loading branch information
Showing
15 changed files
with
237 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ info: | |
license: APACHE 2.0 | ||
author: Mohamed Shalan | ||
email: [email protected] | ||
version: v1.0.10 | ||
version: v1.0.11 | ||
date: 17-09-2024 | ||
category: digital | ||
tags: | ||
|
@@ -137,14 +137,22 @@ ports: | |
width: 1 | ||
direction: input | ||
description: enable for spi master pulse generation | ||
- name: done | ||
width: 1 | ||
direction: output | ||
description: spi done flag. | ||
- name: busy | ||
width: 1 | ||
direction: output | ||
description: spi busy flag. | ||
|
||
external_interface: | ||
- name: miso | ||
port: miso | ||
width: 1 | ||
direction: input | ||
description: SPI Master In Slave Out. | ||
sync: True | ||
sync: False | ||
- name: mosi | ||
port: mosi | ||
width: 1 | ||
|
@@ -236,7 +244,7 @@ registers: | |
write_port: clk_divider | ||
description: SPI clock Prescaler; should have a value >= 2. SPI Clock Frequency = System Clock / PR. | ||
- name: STATUS | ||
size: 6 | ||
size: 8 | ||
mode: r | ||
fifo: no | ||
offset: 20 | ||
|
@@ -274,6 +282,16 @@ registers: | |
bit_width: 1 | ||
read_port: rx_level_above | ||
description: Receive FIFO level is Above Threshold. | ||
- name : busy | ||
bit_offset: 6 | ||
bit_width: 1 | ||
read_port: busy | ||
description: spi busy flag. | ||
- name : done | ||
bit_offset: 7 | ||
bit_width: 1 | ||
read_port: done | ||
description: spi done flag. | ||
|
||
|
||
flags: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.