-
Notifications
You must be signed in to change notification settings - Fork 315
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
STM32H7 CUBEMX SD Card FATFS NVIC problem #305
Comments
Hello @vahidajalluian, Thank you for the report. Could you please, share your .ioc file, and more details about the error? With regards, |
I will share a checked ioc to reproduce the issue by sunday. I am not at work these two days. |
Hello @vahidajalluian, Any news please? With regards |
Sorry, I was away and i had forgotten this one totally, reaching home, I
will send an ioc file.
…On Mon, 3 Feb 2025, 14:11 KRASTM, ***@***.***> wrote:
Hello @vahidajalluian <https://github.com/vahidajalluian>,
Any news please?
With regards
—
Reply to this email directly, view it on GitHub
<#305 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD43VA7PRAHN7UZ5J6H2X7L2N5BVLAVCNFSM6AAAAABVEDICGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZQGU3TINBXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ALABSTM @KRASTM |
Hello @vahidajalluian, Regarding your issue, I think there is a misunderstanding. The SDMMC driver supports 3 modes: polling, interrupt and DMA like almost all IP, for the NVIC and as mentioned in the brief of the driver file, it enabled when interrupt process used.
I tried the same config with F4 Serie, and I didn't find that If you could share your API sequence used in your project for further analysis, otherwise you can check examples and/or application with DK and Eval boards under projects for further details. With regards, |
@KRASTM Thank you for your follow up |
Hello @vahidajalluian, Since your application includes other IP such as USB and ADC beside SDMMC and FATFS as described in #304, also you do not activate NVIC for SDMMC (in other word you work with polling mode), maybe another interrupt is the source of your problem and to get it to work you need to enable NVIC. I suggest you only test SDMMC and FATFS to be sure, otherwise if you could share with us your sequence and perhaps some details in debug mode. With regards |
Following the request in this issue, I have created this one.
Describe the set-up
I am using a custom board with the following specifications:
MCU: STM32H743BIT6
STM32CubeMX version: 6.13
H7 firmware version: V1.12.0
Describe the bug
When one creates a project from scratch with stm32cubemx this issue will happen.
Enabling SDMMC and Fatfs, I could not make it work and emulate the SDCARD. However, in the F4 series program I had earlier, I saw that it was forcibly enabled NVIC, so I enabled the NVIC and the problem was solved.
The text was updated successfully, but these errors were encountered: