Search found 4 matches
- Sun Aug 17, 2014 3:32 pm
- Forum: STM32 Support
- Topic: ICU problem.
- Replies: 6
- Views: 2643
Re: ICU problem.
Gotta be the gdb server then.
- Sun Aug 17, 2014 12:59 pm
- Forum: STM32 Support
- Topic: ICU problem.
- Replies: 6
- Views: 2643
Re: ICU problem.
Well i enabled debug and it printed out the following message, but i dont see what it has to do with anything.
Code: Select all
$1 = 0xff
The target endianness is set automatically (currently little endian)- Sun Aug 17, 2014 11:50 am
- Forum: STM32 Support
- Topic: ICU problem.
- Replies: 6
- Views: 2643
Re: ICU problem.
Yes i use STM32F100RB as part of STM32VLDiscovery board.
I changed pad setup to
but still nothing happened.
I plan to use ICU to get values from sonic range sensor, polling it with 10Hz frequency, will icu work in that case?
I changed pad setup to
Code: Select all
palSetPadMode(GPIOB, PAL_PORT_BIT(6), PAL_MODE_INPUT);but still nothing happened.
I plan to use ICU to get values from sonic range sensor, polling it with 10Hz frequency, will icu work in that case?
- Sun Aug 17, 2014 11:16 am
- Forum: STM32 Support
- Topic: ICU problem.
- Replies: 6
- Views: 2643
ICU problem.
Hello, i am new to chibios and trying to get ICU to capture the pulse width generated by external source(button for now), i am trying to use timer 4 but it doesnt seem to work at all. I enabled icu in halconf.h and mcuconf.h and use the following code as implementation. Note that print_number ...