Maciej Bocianski
67798d6eb2
STM: add qspi pin names for DISCO_L475VG_IOT01A
2018-08-22 15:02:04 +02:00
Maciej Bocianski
42935bbdc0
STM qspi: temporary fix for qspi_free return value
2018-08-22 15:02:03 +02:00
Maciej Bocianski
1f4cc95f25
fix qspi command transfer for NORDIC
...
Add address unpacking support.
Only used in erase commands
2018-08-22 15:02:03 +02:00
Martin Kojtal
d444abcc96
QSPI: fix doxy hal documentation
2018-08-22 15:02:02 +02:00
Martin Kojtal
dd4e236340
QSPI: add doxygen options
2018-08-22 15:02:02 +02:00
adustm
2f06423a89
Add support for QSPI on DISCO_L476VG
2018-08-22 15:02:01 +02:00
adustm
c00e49fcf2
Enable QSPI for DISCO_F746NG
2018-08-22 15:01:54 +02:00
adustm
293d1bda42
Add MBED_WEAK for pins
2018-08-22 15:00:22 +02:00
adustm
9b4b28fc3f
Support maximum flash size : 4Gbytes
2018-08-22 15:00:22 +02:00
adustm
50b8225948
Enable QSPI feature for DISCO_F413ZH platform
2018-08-22 15:00:21 +02:00
adustm
0714ac350f
Revert "Dummy cycles count is not an init parameter, but a command parameter."
...
This reverts commit f1ad089660
.
2018-08-22 15:00:21 +02:00
adustm
2b234c2902
Move _mode from QSPI::configure_format to QSPI::QSPI
...
QSPI::configure_format shall not call initialize function.
This way, QSPI::configure_format can be called any time,
only to change the format of commands.
It must contain only parameters for the commands, not for the Init function
2018-08-22 15:00:20 +02:00
adustm
c57a47e4b5
Change default FlashSize to 64Mbit = 8Mbytes = 0x800000
2018-08-22 15:00:20 +02:00
adustm
8d2f426d97
Dummy cycles count is not an init parameter, but a command parameter.
...
It can change depending on the chosen command, not only at start.
This way we avoid to launch init function and break the internal status variables.
2018-08-22 15:00:19 +02:00
adustm
8e08740237
Fix Instruction with no data command
...
Adding QSPI_DATA_NONE activates the transfer
of the command inside HAL_QSPI_COMMAND function
2018-08-22 15:00:19 +02:00
adustm
05899e9c70
Fix Address.Size and AlternateByes.Size by shifting them
...
The ST HAL code is waiting for the correctly shifted vlue
(for a direct write into the HW register)
2018-08-22 15:00:18 +02:00
Martin Kojtal
d54bac2207
QSPI: add address to command transfer
2018-08-22 15:00:18 +02:00
Martin Kojtal
41453169a0
QSPI: fix memset header file missing
2018-08-22 15:00:17 +02:00
Martin Kojtal
d282c81e86
QSPI: add STM32L4 support
...
Disco IoT board support for QSPI. As it does not have dual flash support in QSPI,
we need to fix qspi hal implementation.
2018-08-22 15:00:17 +02:00
Martin Kojtal
ae7bb17eaf
QSPI: add flash pins for nrf52480_dk board
2018-08-22 15:00:16 +02:00
Martin Kojtal
0f7fd757a4
QSPI: add flash pins for F469 disco board
2018-08-22 15:00:16 +02:00
Martin Kojtal
99f2107881
QSPI: hal doxygen fixes
...
Small corrections, fixing typos in the documentation
2018-08-22 15:00:15 +02:00
Martin Kojtal
c778c90184
QSPI STM32: fix default fifo and cycle
...
As example for DISCO F469NI defines them
2018-08-22 15:00:15 +02:00
Martin Kojtal
8783956a77
QSPI STM32: fix prepare comman - alt/address
2018-08-22 15:00:14 +02:00
Martin Kojtal
fff20729be
QSPI STM32: fix command transfer
...
use write/read from STM32 driver
2018-08-22 15:00:14 +02:00
Martin Kojtal
5038b38622
QSPI STM32: fix pin merging
...
hw name as input
2018-08-22 15:00:13 +02:00
Martin Kojtal
16ca742d87
QSPI STM32: fix disabled format phase
2018-08-22 15:00:12 +02:00
Martin Kojtal
2766672f64
QSPI STM32: add QSPI_x support to pinnames
2018-08-22 15:00:12 +02:00
Martin Kojtal
660d250e0d
QSPI STM32: init returns error if failed to init
2018-08-22 15:00:11 +02:00
Martin Kojtal
551f044e77
QSPI STM32: add qspi_command_transfer implementation
2018-08-22 15:00:11 +02:00
Martin Kojtal
6e5b889e52
QSPI STM32: remove polling from write/read
...
This will be part of custom instruction transfer, the flow will be:
1. write data
2. wait for transfer to complete (poll status register from the memory device)
2018-08-22 15:00:10 +02:00
Martin Kojtal
8da072d8af
QSPI STM32: set default command values to none
2018-08-22 15:00:10 +02:00
Martin Kojtal
11ae100d80
QSPI STM32: fix return value in frequency
2018-08-22 15:00:09 +02:00
Martin Kojtal
5e75b39b78
QSPI STM32: fix ssel af selection
2018-08-22 15:00:09 +02:00
Martin Kojtal
7da0ac2516
QSPI: add STM32 implementation
2018-08-22 15:00:08 +02:00
Martin Kojtal
784c473f63
QSPI HAL: add disabled flag to format phase
...
If phase is being skipped, set disabled to true, otherwise false.
2018-08-22 15:00:08 +02:00
Martin Kojtal
b71f2a15ea
QSPI: fix alt size NONE instead 0
2018-08-22 15:00:07 +02:00
Martin Kojtal
910f1a8884
QSPI: fix driver style issues
2018-08-22 15:00:07 +02:00
Martin Kojtal
3db3364821
QSPI: fix arguments for write/read when alt is defined
...
Should be: instr, alt, address or inst, addr or just addr
2018-08-22 15:00:06 +02:00
Martin Kojtal
1d234aade4
QSPI HAL: fix alternative comment
2018-08-22 15:00:06 +02:00
Martin Kojtal
1557ce37f1
QSPI: remove spaces on empty lines
2018-08-22 15:00:05 +02:00
Martin Kojtal
0612ab2292
QSPI: remove initialize method
...
Not used anymore, not defined. ctor default initializes the object
2018-08-22 15:00:05 +02:00
Martin Kojtal
6274cd4597
QSPI: fix address size for build qspi command
...
if address is skipped, used size NONE
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
894f8bdf9f
Review fixes
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
273cf05d92
Minor optimizations and code style fixes
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan
cb4308ad64
Remove changes to Nordic SDK and modify HAL to track qspi init
2018-08-22 15:00:03 +02:00
Senthil Ramakrishnan
04ec07c017
Fix bracket placements
2018-08-22 15:00:03 +02:00
Senthil Ramakrishnan
d9036865d8
Remove explicit initialize API and coding style fixes
2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan
0f7cc36f69
Changing config and return definitions to adhere to HAL defs
2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan
10a6fd6549
Add support for 1_1_2 and 1_2_2 modes in HAL
2018-08-22 15:00:01 +02:00