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

tests: driver: dma test case loop_transfer fails on stm32 with dmamux #35219

Closed
FRASTM opened this issue May 12, 2021 · 1 comment · Fixed by #34972
Closed

tests: driver: dma test case loop_transfer fails on stm32 with dmamux #35219

FRASTM opened this issue May 12, 2021 · 1 comment · Fixed by #34972
Assignees
Labels
area: DMA Direct Memory Access area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Milestone

Comments

@FRASTM
Copy link
Collaborator

FRASTM commented May 12, 2021

Describe the bug
When the stm32 has a dmamux, the request ID 0 is not accessible, causing a failure in the memory-to-memory testing.
The test cases tests/drivers/dma/loop_transfer and tests/drivers/dma/chan_blen_transfer are failed
especially on nucleo_g474re, nucleo_wb55rg, nucleo_g071rb

To Reproduce
Steps to reproduce the behavior:

  1. west build -p auto -b nucleo_g474re tests/drivers/dma/loop_transfer/

Expected behavior
test PASSED

Logs and console output

Running test suite dma_m2m_loop_test                                            
===================================================================             
START - test_dma_m2m_loop                                                       
DMA memory to memory transfer started on DMAMUX_1                               
Preparing DMA Controller                                                        
this platform do not support the dma channel                                    
Starting the transfer on channel 2 and waiting for 1 second                     
E: request ID 0 is not valid.                                                   
ERROR: transfer config (2)                                                      
                                                                                
    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/dma/loop_transfer/src/e
                                                                                
 FAIL - test_dma_m2m_loop in 0.35 seconds                                       
===================================================================             
Test suite dma_m2m_loop_test failed.                                            
===================================================================             
PROJECT EXECUTION FAILED                                                        

Environment (please complete the following information):

@FRASTM FRASTM added bug The issue is a bug, or the PR is fixing a bug area: DMA Direct Memory Access area: Tests Issues related to a particular existing or missing test platform: STM32 ST Micro STM32 labels May 12, 2021
@FRASTM
Copy link
Collaborator Author

FRASTM commented May 12, 2021

FIXED by #34972

@erwango erwango added the priority: low Low impact/importance bug label May 12, 2021
@erwango erwango added this to the v2.6.0 milestone May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: DMA Direct Memory Access area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants