2014-07-23 1:35 PM
2014-07-23 1:40 PM
This forum software does not support posting from mobile devices (Phones, Tablets).
Perhaps if it's connected to PD0?2014-07-24 1:32 AM
****update****
I just had a quick chat with an STM engineer, who told me, that what I am trying to do, will not work... There is no way to connect the interrupt behind the CAN filter to an EXTI line, because they are not working in STOP-Mode. So, there are two ways left to get a quick solution (without changing hardware): - Enter STOP-Mode via WFE - Wait for event. This would wake up the MCU without an ISR, which would be fine for now. - Enable the EXTI line connected to RX-Pin just before entering STOP-Mode and disabling the EXTI line again after wake up. Otherwise an Interrupt would occur with any CAN message, which is not my aim. I will try to get the STOP-Mode working using the WFE - sequence. Can anybody give me some hints? I will post my code later on ;) ********* Good morning clive1, I reworked my posting, as I did not know, thath mobile devices are not supported :) Kind regards, Niko2014-07-24 7:18 AM
Your EXTI configuration is wrong
// EXT_INT0 connect to Pin0 [GPIOD] = RX-PIN SYSCFG_EXTILineConfig(EXTI_PortSourceGPIOD, GPIO_Pin_0); Should be // EXT_INT0 connect to Pin PD0 SYSCFG_EXTILineConfig(EXTI_PortSourceGPIOD, EXTI_PinSource0); Whether the state of the pin is usable is debatable, not sure the if you want an Event, if you configured an Interrupt. I'd go for WFIWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.