Skip to content

[B_L4S5I_IOT01A] update to support OCTOSPI#3

Merged
fpistm merged 5 commits into
stm32duino:masterfrom
FRASTM:octospi
Sep 11, 2020
Merged

[B_L4S5I_IOT01A] update to support OCTOSPI#3
fpistm merged 5 commits into
stm32duino:masterfrom
FRASTM:octospi

Conversation

@FRASTM

@FRASTM FRASTM commented Sep 3, 2020

Copy link
Copy Markdown
Contributor

L4S5 IOT kit has octospi feature to access the hw mx2556435f
the 64-Mbit Quad-SPI Flash memory from Macronix
Takes code from the ./STM32CubeL4/Drivers/BSP/B-L4S5I-IOT01/stm32l4s5i_iot01_qspi.c/.h

requires stm32duino/Arduino_Core_STM32#1163

L4S5 IOT kit has octospi feature to access the hw mx2556435f
the 64-Mbit Quad-SPI Flash memory from Macronix

Signed-off-by: Francois Ramu <francois.ramu@st.com>
@FRASTM

FRASTM commented Sep 3, 2020

Copy link
Copy Markdown
Contributor Author

sketch : demo


*********************** Memory Test *****************************


Init : OK
GET INFO : OK
ERASE : OK
WRITE : OK
Test : OK

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Several part of code are the same except HAL API name.
Create generic function names to map on the correct one.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
 - Remove useless comments
 - Apply Astyle

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm

fpistm commented Sep 10, 2020

Copy link
Copy Markdown
Member

@FRASTM, as discussed, I've add capabilities to dynamically define the QUADSPI or OCTOSPI to used.
I've kept a backward capabilities.

Tested with Core version 1.9.0 and master with updated pinmap arrays using B-L475E-IOT01A and B-L475E-IOT01A.

@FRASTM

FRASTM commented Sep 11, 2020

Copy link
Copy Markdown
Contributor Author

LGTM

@fpistm fpistm merged commit 427d5df into stm32duino:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants