I am Getting into the Default handler in the startup file while enabling the LL_SPI_EnableIT_TXP(SPI1)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-13 10:12 PM
Hi Team, I am using the stm32h745zi-Q as my development board. I am working in the SPI in the low level . But When I am enabling interrupts like LL_SPI_EnableIT_TXP(SPI1); and debugging the code It is getting in to the default handler in the startup file . could you please what are the modifications is needed to come out from this.
Thank you
SM
- Labels:
-
SPI
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-30 8:56 AM
Hello @Sm.2​ ,
I was wondering where this function LL_SPI_EnableIT_TXP(SPI1); is declared,
Does it come from another driver ?
Please can you specify whether you declared SPI interruption in stm32h7xx_it.c file?
If yes, can you set a breakpoint to see whether it is reachable?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-30 6:44 PM
If the OP still needs help with this...
Align the vectors table on 0x400. 0x200 alignment is not enough for STM32H7.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-03 5:55 AM
void SPI1_IRQHandler(void) {
/* TODO */
}
Did you write your own IRQHandler, something like I wrote above?
