Associate III
Jun 1, 2019 11:50 AM UTC
Question
Hardware fault on FATFS and I2S
- 3 replies
- 1419 views
Try to play the wave file stored in uSD using STM32F103VCT and CODEC IC (TAS2505).
Use 4bit SDIO (DMA) and I2S2 (DMA) with STM32 and CODEC.
However, after playing Wave file, a hardware fault occurs and HardFault_Handler is called.
If Wave file is played up to the middle, hardware fault will not occur, so problems related to SDIO or FATFS are suspected, but cannot be resolved.
- The data read from File at once is 2048 bytes.
- stack size = 0x1000
- Heap size = 0x4000
- CubeMx Version = 5.2.0
- Cube MCU package for STM32F1 : 1.7.0
- There is no OS.
I'd be very grateful if anyone could help me.
