ICU halt after icuWaitCapture on STM32F373 @ 3.0-git

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Vooon
Posts: 15
Joined: Tue Feb 01, 2011 11:13 pm

Re: ICU halt after icuWaitCapture on STM32F373 @ 3.0-git

Post by Vooon »

Ok, i enabled all debugging and found that i forgot to do icuStartCaptute() before icuEnableNotification(). :oops:
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ICU halt after icuWaitCapture on STM32F373 @ 3.0-git

Post by Giovanni »

OK :) it was working here so I ran out of ideas.

I fixed the problem with the callback you found.

Giovanni
Vooon
Posts: 15
Joined: Tue Feb 01, 2011 11:13 pm

Re: ICU halt after icuWaitCapture on STM32F373 @ 3.0-git

Post by Vooon »

Sorry i am forgot to say that adding icuStartCapture() fixes and now icu works as expected :roll: .
Post Reply