Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Proteus STM32F103 I2C Interrupt issue

HoangHung

Newbie
Newbie level 2
Joined
Apr 1, 2025
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
19
Hi, I have been trying to send a message through I2C using the CMSIS driver for quite a while but no success thus far. The SDA and SCL lines go and stay low right after sending the start condition, and after some troubleshooting I managed to determine that this is caused by the peripheral interrupt not firing. The driver use the interrupt to know when to send the next byte.

If I use NVIC_SetPending to fire it then it does fire, so I know the issue is not with the handler or the vector table. The values in the I2C registers look to be correct, so I don't know why it is not working.

Is this a problem with proteus, or is it something on my end? Any respond would be appreciated.
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top