Marzogh / SPIMemory

Arduino library for Flash Memory Chips (SPI based only). Formerly SPIFlash
http://spimemory.readthedocs.io/en/latest/
GNU General Public License v3.0
430 stars 136 forks source link

Change of Chip-select #223

Open martin1802 opened 3 years ago

martin1802 commented 3 years ago
Any feature request raised here MUST be submitted according to this template or it will be flagged with 'Not enough information'. No action will be taken till all the prerequisite information is provided. If no information is provided for over a month after the 'Not enough information' label is applied, the issue will be closed.

Feature request

In a one project I have to access an external Winbond Flash-Memory (W25Q128J). The controller is an ESP32. Unfortunately I have to use existing HW Platforms of the project with different I/O mapping. I am happy that MISO, MOSI and Clock are every time the same, but the mapping of the CS-Pin depends of the HW Revision.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

During boot I have to implement a auto-deletion of the HW and the most efficient way would be to detect the WINBOND. For this I would like to ask, is there a simple way to change the CS-Pin-configuration? If yes, it would be very easy for me to detect the WINBOND.

A clear and concise description of what you want to happen.

Describe alternatives you've considered

Other way could be a auto-detection of Memory by a CS-Pin-List. Maybe?

Additional context

I think there are not additional...


DO NOT DELETE OR EDIT anything below this

Note 1: Make sure to add all the information needed to understand the bug so that someone can help. If any essential information is missing we'll add the 'Needs more information' label and close the issue until there is enough information.

Note 2: For support questions (for example, tutorials on how to use the library), please use the Arduino Forums. This repository's issues are reserved for feature requests and bug reports.


GitHub issue state GitHub issue title GitHub issue author GitHub issue label GitHub issue comments GitHub issue age GitHub issue last update