lowRISC / lowRISC/opentitan

[spi_host] Option to manually control spi_host chip select

Open
#28,175 2 comments 0 reactions 0 assignees View on GitHub
IP:spi_host
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

Hello,

In the current implementation, the spi_host IP automatically controls the chip select (CS) signal when transmitting or receiving data.

I would like to know if there is a way to:

1. Disable or override the automatic CS behavior.
2. Control the chip select manually using a GPIO.
3. Replace the CS signal from spi_host with a GPIO-driven signal.

Is there an existing configuration option for this, or would this require modifying the design? Any guidance or documentation reference would be greatly appreciated.

Contributor guide

Open the contributing guide

Research direction

Start with the spi_host IP implementation and its available configuration or documentation, then trace how chip select is connected and controlled during transfers. Confirm whether manual GPIO control is already supported; done should be a documented answer or a clearly scoped design change covering disabled, overridden, and GPIO-driven CS behavior.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.