Skip to main content
RShiv.1
Associate III
December 30, 2021
Solved

I2C1 Interrupt pin not working

  • December 30, 2021
  • 5 replies
  • 1323 views

..

This topic has been closed for replies.
Best answer by RShiv.1

Hi,

I got the EXT1 line1 Interrupt ..enabled and now the INT works..thanks

5 replies

RShiv.1
RShiv.1Author
Associate III
December 30, 2021

Hi,

attached is the main.c file where I am reading I2C1 Interrupt which I have configured using stmcubeMx.PB1 is configured as GPIO_EXT1..I have also written the callback function..kindly let me know what needs to be changed in the code.

Thanks

Ravi

RShiv.1
RShiv.1Author
Associate III
December 30, 2021

Hi,

attaching the .ioc file.kindly help us through this.

Thanks

Ravi

RShiv.1
RShiv.1Author
Associate III
December 30, 2021

I am not seeing EXTI line1 Interrupt in the NVIC..can I know why??..any configuration missing??

RShiv.1
RShiv.1AuthorBest answer
Associate III
December 30, 2021

Hi,

I got the EXT1 line1 Interrupt ..enabled and now the INT works..thanks

ST Technical Moderator
January 3, 2022

Hi @RShiv.1​ ,

Good to hear you made the project work.

Thanks for your contribution and for sharing your update.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks