cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 4.19 Fails To Load I2S RX DMA Configuration

Robert Rath
Associate II
Posted on February 06, 2017 at 02:14

CubeMX version 4.19 fails to load the I2S DMA configuration when used in RX mode (peripheral to memory).

I have confirmed this issue is repeatable over a range of parts and I2S modes. The consistent factor seems to be I2S RX peripheral to memory DMA configuration.

The following steps will reproduce the issue described.

a) Using CubeMx version 4.19 start a new project.

b) Select any STM32 part which supports an I2S peripheral.

c) Enable I2Sn in either master or slave modes.

d) Configure I2Sn 'Paramter Settings' for Transmission Mode 'Receive'.

e) Add a new DMA Request,  SPIn_RX.

f) Save the project, close project and then reload the newly created project.

g) Note the loading warning messge 'The SPIn_RX DMA request was not loaded.'

h) Note that the DMA configuration for I2Sn is no longer in the configuration.

I have confirmed that once the DMA has been configured, the target code will be correctly created.

Does anyone have a work around to this short of re-configuring the DMA every time the project is loaded?

... Robert

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee
Posted on March 07, 2017 at 13:50

Hello Robert Rath,

This bug of 'The SPIn_RX DMA request was not loaded' is fixed with the new release of

/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fst_com%2Fen%2Fproducts%2Fdevelopment-tools%2Fsoftware-development-tools%2Fstm32-software-development-tools%2Fstm32-configurators-and-code-generators%2Fstm32cubemx.html

4.0

as mentioned in the

/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Frelease_note%2Fb2%2F02%2F4b%2Fe3%2F81%2F32%2F49%2Fc4%2FDM001076pdf%2Ffiles%2FDM001076pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM001076pdf

Release note of STM32CubeMX.

Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

4 REPLIES 4
Imen.D
ST Employee
Posted on February 06, 2017 at 10:25

Hello

rath.robert

,

Your request is reported internally.You may refer to this thread with same topic

https://community.st.com/0D50X00009XkYr5SAF

In your case, what are you using as MCU product?

Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on February 07, 2017 at 22:56

I am using the STM32F745 but the same issue seems to be consistent with any STM32 component which supports both I2S and DMA. The problem only occurs when the mode is configured to RX and DMA configuration is Peripheral to Memory.

Robert

Jeanne Joly
Senior III
Posted on March 02, 2017 at 17:30

Hello

Rath.Robert

,

As said in the thread

https://community.st.com/0D50X00009XkYr5SAF

that you follow as well, this issue will be solved in CubeMX4.20 and this new CubeMX release will come soon.

BR. Eric

Imen.D
ST Employee
Posted on March 07, 2017 at 13:50

Hello Robert Rath,

This bug of 'The SPIn_RX DMA request was not loaded' is fixed with the new release of

/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fst_com%2Fen%2Fproducts%2Fdevelopment-tools%2Fsoftware-development-tools%2Fstm32-software-development-tools%2Fstm32-configurators-and-code-generators%2Fstm32cubemx.html

4.0

as mentioned in the

/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Frelease_note%2Fb2%2F02%2F4b%2Fe3%2F81%2F32%2F49%2Fc4%2FDM001076pdf%2Ffiles%2FDM001076pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM001076pdf

Release note of STM32CubeMX.

Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen