-
Notifications
You must be signed in to change notification settings - Fork 3k
Use dedicated PinMap for each QSPI data line #9438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -312,14 +312,25 @@ MBED_WEAK const PinMap PinMap_CAN_TD[] = { | |||
|
|||
//*** QUADSPI *** | |||
|
|||
MBED_WEAK const PinMap PinMap_QSPI_DATA[] = { | |||
{PA_1, QSPI_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF9_QSPI)}, // QUADSPI_BK1_IO3 | |||
{PB_6, QSPI_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QSPI)}, // QUADSPI_BK1_NCS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeromecoutant This isn't a data pin. Was QSPI always broken on this port?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, no QUADSPI_BK1_IO2 pin for STM32F446RE...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @c1728p9
Everything seems correct!
There was an issue with NCS pins which were added in the data list pins,
and you have corrected this! 👍
I have updated tools/targets/STM32_gen_PeripheralPins.py
I will push it after this PR merge.
@@ -312,14 +312,25 @@ MBED_WEAK const PinMap PinMap_CAN_TD[] = { | |||
|
|||
//*** QUADSPI *** | |||
|
|||
MBED_WEAK const PinMap PinMap_QSPI_DATA[] = { | |||
{PA_1, QSPI_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF9_QSPI)}, // QUADSPI_BK1_IO3 | |||
{PB_6, QSPI_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF10_QSPI)}, // QUADSPI_BK1_NCS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, no QUADSPI_BK1_IO2 pin for STM32F446RE...
CI started |
Test run: FAILEDSummary: 6 of 7 test jobs failed Failed test jobs:
|
Some updates are missing there: |
targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/TARGET_FRDM/PeripheralPins.c
Outdated
Show resolved
Hide resolved
targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL82Z/TARGET_FRDM/PeripheralPins.c
Outdated
Show resolved
Hide resolved
Split PinMap_QSPI_DATA into PinMap_QSPI_DATA0 - PinMap_QSPI_DATA3. This allows pins to be selected more accurately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI started. |
Test run: FAILEDSummary: 1 of 8 test jobs failed Failed test jobs:
|
Test run: FAILEDSummary: 1 of 8 test jobs failed Failed test jobs:
|
Not sure why |
Restarted CI |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
Now ARMC6 seems to pass |
@c1728p9 This was selected for 5.12 based on PR type. If this is not the case, let us know |
Use dedicated PinMap for each QSPI data line ARMmbed#9438
Use dedicated PinMap for each QSPI data line #9438
Description
Split PinMap_QSPI_DATA into PinMap_QSPI_DATA0 - PinMap_QSPI_DATA3. This allows pins to be selected more accurately and may be used in the future for QSPI testing.
Pull request type