Skip to content

Conversation

FRASTM
Copy link
Contributor

@FRASTM FRASTM commented Sep 3, 2020

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 <[email protected]>
@FRASTM
Copy link
Contributor Author

FRASTM commented Sep 3, 2020

sketch : demo


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


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

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 <[email protected]>
 - Remove useless comments
 - Apply Astyle

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm
Copy link
Member

fpistm commented Sep 10, 2020

@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
Copy link
Contributor Author

FRASTM commented Sep 11, 2020

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