Skip to content
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

STM32 SPI ASYNC - Add FIFO flush before transfer #6012

Merged
merged 2 commits into from
Feb 5, 2018

Conversation

jeromecoutant
Copy link
Collaborator

Description

In STM32F0/F3/F7/L4, there is a FIFO that needs to be flushed before starting transfers.

NB: some HAL files were missing for STM32F7 (ST_INTERNAL_REF 43358)

Status

READY

Copy link
Contributor

@0xc0170 0xc0170 left a comment

Choose a reason for hiding this comment

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

Any tests run (ci shield for instance?) ?

@jeromecoutant
Copy link
Collaborator Author

Yes, SPI tests have been performed with CI shield:

+-----------------------+---------------+-----------------------+--------+--------------------+-------------+
| target | platform_name | test suite | result | elapsed_time (sec) | copy_method |
+-----------------------+---------------+-----------------------+--------+--------------------+-------------+
| NUCLEO_F091RC-ARM | NUCLEO_F091RC | tests-api-spi | OK | 24.79 | default |
| NUCLEO_F091RC-ARM | NUCLEO_F091RC | tests-assumptions-spi | OK | 21.29 | default |
| NUCLEO_F091RC-GCC_ARM | NUCLEO_F091RC | tests-api-spi | OK | 27.22 | default |
| NUCLEO_F091RC-GCC_ARM | NUCLEO_F091RC | tests-assumptions-spi | OK | 22.65 | default |
| NUCLEO_F091RC-IAR | NUCLEO_F091RC | tests-api-spi | OK | 24.99 | default |
| NUCLEO_F091RC-IAR | NUCLEO_F091RC | tests-assumptions-spi | OK | 21.25 | default |
| NUCLEO_F103RB-ARM | NUCLEO_F103RB | tests-api-spi | OK | 35.46 | default |
| NUCLEO_F103RB-ARM | NUCLEO_F103RB | tests-assumptions-spi | OK | 21.78 | default |
| NUCLEO_F103RB-GCC_ARM | NUCLEO_F103RB | tests-api-spi | OK | 37.44 | default |
| NUCLEO_F103RB-GCC_ARM | NUCLEO_F103RB | tests-assumptions-spi | OK | 22.89 | default |
| NUCLEO_F103RB-IAR | NUCLEO_F103RB | tests-api-spi | OK | 35.82 | default |
| NUCLEO_F103RB-IAR | NUCLEO_F103RB | tests-assumptions-spi | OK | 21.81 | default |
| NUCLEO_F207ZG-ARM | NUCLEO_F207ZG | tests-api-spi | OK | 23.4 | default |
| NUCLEO_F207ZG-ARM | NUCLEO_F207ZG | tests-assumptions-spi | OK | 20.37 | default |
| NUCLEO_F207ZG-GCC_ARM | NUCLEO_F207ZG | tests-api-spi | OK | 23.71 | default |
| NUCLEO_F207ZG-GCC_ARM | NUCLEO_F207ZG | tests-assumptions-spi | OK | 21.0 | default |
| NUCLEO_F207ZG-IAR | NUCLEO_F207ZG | tests-api-spi | OK | 23.38 | default |
| NUCLEO_F207ZG-IAR | NUCLEO_F207ZG | tests-assumptions-spi | OK | 20.45 | default |
| NUCLEO_F303ZE-ARM | NUCLEO_F303ZE | tests-api-spi | OK | 25.04 | default |
| NUCLEO_F303ZE-ARM | NUCLEO_F303ZE | tests-assumptions-spi | OK | 21.31 | default |
| NUCLEO_F303ZE-GCC_ARM | NUCLEO_F303ZE | tests-api-spi | OK | 26.27 | default |
| NUCLEO_F303ZE-GCC_ARM | NUCLEO_F303ZE | tests-assumptions-spi | OK | 22.46 | default |
| NUCLEO_F303ZE-IAR | NUCLEO_F303ZE | tests-api-spi | OK | 24.43 | default |
| NUCLEO_F303ZE-IAR | NUCLEO_F303ZE | tests-assumptions-spi | OK | 21.05 | default |
| NUCLEO_F446RE-ARM | NUCLEO_F446RE | tests-api-spi | OK | 23.27 | default |
| NUCLEO_F446RE-ARM | NUCLEO_F446RE | tests-assumptions-spi | OK | 20.51 | default |
| NUCLEO_F446RE-GCC_ARM | NUCLEO_F446RE | tests-api-spi | OK | 24.1 | default |
| NUCLEO_F446RE-GCC_ARM | NUCLEO_F446RE | tests-assumptions-spi | OK | 20.95 | default |
| NUCLEO_F446RE-IAR | NUCLEO_F446RE | tests-api-spi | OK | 23.43 | default |
| NUCLEO_F446RE-IAR | NUCLEO_F446RE | tests-assumptions-spi | OK | 20.5 | default |
| NUCLEO_F767ZI-ARM | NUCLEO_F767ZI | tests-api-spi | OK | 22.49 | default |
| NUCLEO_F767ZI-ARM | NUCLEO_F767ZI | tests-assumptions-spi | OK | 20.08 | default |
| NUCLEO_F767ZI-GCC_ARM | NUCLEO_F767ZI | tests-api-spi | OK | 23.71 | default |
| NUCLEO_F767ZI-GCC_ARM | NUCLEO_F767ZI | tests-assumptions-spi | OK | 20.64 | default |
| NUCLEO_F767ZI-IAR | NUCLEO_F767ZI | tests-api-spi | OK | 22.25 | default |
| NUCLEO_F767ZI-IAR | NUCLEO_F767ZI | tests-assumptions-spi | OK | 20.61 | default |
| NUCLEO_L073RZ-ARM | NUCLEO_L073RZ | tests-api-spi | OK | 28.11 | default |
| NUCLEO_L073RZ-ARM | NUCLEO_L073RZ | tests-assumptions-spi | OK | 23.38 | default |
| NUCLEO_L073RZ-GCC_ARM | NUCLEO_L073RZ | tests-api-spi | OK | 31.11 | default |
| NUCLEO_L073RZ-GCC_ARM | NUCLEO_L073RZ | tests-assumptions-spi | OK | 25.12 | default |
| NUCLEO_L073RZ-IAR | NUCLEO_L073RZ | tests-api-spi | OK | 27.8 | default |
| NUCLEO_L073RZ-IAR | NUCLEO_L073RZ | tests-assumptions-spi | OK | 22.87 | default |
| NUCLEO_L152RE-ARM | NUCLEO_L152RE | tests-api-spi | OK | 25.74 | default |
| NUCLEO_L152RE-ARM | NUCLEO_L152RE | tests-assumptions-spi | OK | 22.28 | default |
| NUCLEO_L152RE-GCC_ARM | NUCLEO_L152RE | tests-api-spi | OK | 25.95 | default |
| NUCLEO_L152RE-GCC_ARM | NUCLEO_L152RE | tests-assumptions-spi | OK | 21.9 | default |
| NUCLEO_L152RE-IAR | NUCLEO_L152RE | tests-api-spi | OK | 24.82 | default |
| NUCLEO_L152RE-IAR | NUCLEO_L152RE | tests-assumptions-spi | OK | 21.08 | default |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-api-spi | OK | 23.54 | default |
| NUCLEO_L476RG-ARM | NUCLEO_L476RG | tests-assumptions-spi | OK | 20.78 | default |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-api-spi | OK | 25.1 | default |
| NUCLEO_L476RG-GCC_ARM | NUCLEO_L476RG | tests-assumptions-spi | OK | 21.42 | default |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-api-spi | OK | 23.57 | default |
| NUCLEO_L476RG-IAR | NUCLEO_L476RG | tests-assumptions-spi | OK | 20.63 | default |
+-----------------------+---------------+-----------------------+--------+--------------------+-------------+
54 OK

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 5, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Feb 5, 2018

Build : SUCCESS

Build number : 1059
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6012/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build

@mbed-ci
Copy link

mbed-ci commented Feb 5, 2018

@mbed-ci
Copy link

mbed-ci commented Feb 5, 2018

@cmonr cmonr merged commit 6a8a818 into ARMmbed:master Feb 5, 2018
@jeromecoutant jeromecoutant deleted the PR_SPI_FLUSH branch February 5, 2018 16:13
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.

None yet

4 participants