Hello everyone, I am new here .My major is Microcontroller , and work on stm32f103 recently , but meet some problems in my project , and i would like to knw that is anyone here learning or using this embeded microcontroller ?
well, i am learning the the EXTI and NVIC , if i wanna config the PA0 as a External interrupt port , how do i config the EXTI and NVIC , i am frustrated now .
- - - Updated - - -
when i press the key(connected to GND), nothing ocurred ,and cant get into the interrupt service function .
Hi, have patience if you are new to this device. This happens when the hardware architecture and documentation is not fully read/understood. Any how, Read the following web pages. I hope they will help you out.
thanks , i made it ,i havent reference the ST PM0056 before i solved it . the reason why it has no response ,because i didnt config the" Interrupt Set Enable Register ",above these 2 functons , add the "NVIC->ISER[0] |= 1 << 7; //interrupt set enable, EXTI line 1",it will work !!!