''HardFault_Handler'' function after SPI1 initialization. MCU: STM32-F030K6 How can detect bugs. please reply.(Code generated in STM32CubeMX)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-30 3:16 AM
Problem:
go to'void HardFault_Handler(void)'function after SPI1 initialization.MCU: STM32-F030K6
How can detect bugs.
please reply.
Note:
Its working on STM32-F030R8 nucleo board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-30 4:37 AM
Hello
KUMAR.NIRANJAN
‌,we need more informations here:
- What library is used?
- Is it even library or is plan register access?
From current info, we are not able to know what the issue is. Please provide as much info as possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-30 10:53 PM
Thanks for reply.
1. HAL library Cortex M0 ARM compiler.
2. It is library only generated by CubeMx only.
Problem: After initialization of SPI1 then use HAL SPI Transmit and go to Hardfault interrupts is generated.
Please reply or any article related for the same.
Majerle.Tilen
