2017-02-05 05:14 PM
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
Solved! Go to Solution.
2017-03-07 04:50 AM
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
2017-02-06 01:25 AM
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
2017-02-07 02:56 PM
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
2017-03-02 08:30 AM
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
2017-03-07 04:50 AM
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