Skip to content

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

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

c1728p9
Copy link
Contributor

@c1728p9 c1728p9 commented Jan 19, 2019

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

[ ] Fix
[ ] Refactor
[ ] Target update
[x] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

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

@c1728p9 c1728p9 Jan 19, 2019

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?

Copy link
Collaborator

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...

Copy link
Collaborator

@jeromecoutant jeromecoutant left a 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
Copy link
Collaborator

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...

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 22, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 22, 2019

Test run: FAILED

Summary: 6 of 7 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_mbed2-build-GCC_ARM
  • jenkins-ci/mbed-os-ci_mbed2-build-ARM
  • jenkins-ci/mbed-os-ci_mbed2-build-IAR
  • jenkins-ci/mbed-os-ci_build-IAR
  • jenkins-ci/mbed-os-ci_build-ARM
  • jenkins-ci/mbed-os-ci_build-GCC_ARM

@jeromecoutant
Copy link
Collaborator

Split PinMap_QSPI_DATA into PinMap_QSPI_DATA0 - PinMap_QSPI_DATA3.
This allows pins to be selected more accurately.
Copy link
Contributor

@SenRamakri SenRamakri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cmonr
Copy link
Contributor

cmonr commented Jan 22, 2019

CI started.

@mbed-ci
Copy link

mbed-ci commented Jan 22, 2019

Test run: FAILED

Summary: 1 of 8 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARMC6

@mbed-ci
Copy link

mbed-ci commented Jan 22, 2019

Test run: FAILED

Summary: 1 of 8 test jobs failed
Build number : 3
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARMC6

@cmonr
Copy link
Contributor

cmonr commented Jan 23, 2019

Not sure why jenkins-ci/mbed-os-ci_build-ARMC6 is being ping'd.
@ARMmbed/mbed-os-test-team has been ping'd for assistance.

@alekla01
Copy link
Contributor

Restarted CI

@mbed-ci
Copy link

mbed-ci commented Jan 23, 2019

Test run: SUCCESS

Summary: 12 of 12 test jobs passed
Build number : 4
Build artifacts

@OPpuolitaival
Copy link
Contributor

Now ARMC6 seems to pass

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 23, 2019

[x] Functionality change

@c1728p9 This was selected for 5.12 based on PR type. If this is not the case, let us know

@0xc0170 0xc0170 merged commit a6509cf into ARMmbed:master Jan 23, 2019
jeromecoutant added a commit to jeromecoutant/mbed that referenced this pull request Jan 24, 2019
Use dedicated PinMap for each QSPI data line ARMmbed#9438
adbridge pushed a commit that referenced this pull request Feb 8, 2019
Use dedicated PinMap for each QSPI data line #9438
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.

10 participants