Skip to main content
Sm.2
Associate III
July 14, 2022
Question

I am Getting into the Default handler in the startup file while enabling the LL_SPI_EnableIT_TXP(SPI1)?

  • July 14, 2022
  • 3 replies
  • 1222 views

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

This topic has been closed for replies.

3 replies

Technical Moderator
September 30, 2022

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 "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Pavel A.
Super User
October 1, 2022

If the OP still needs help with this...

Align the vectors table on 0x400. 0x200 alignment is not enough for STM32H7.

_andreas
Senior
October 3, 2022
void SPI1_IRQHandler(void) {
 /* TODO */
}

Did you write your own IRQHandler, something like I wrote above?