Hi,
Each time I use "float" variables in my code, the program hangs.
Does Chibios needs to set some library or tune something to use float maths ?
Olivier
Search found 9 matches
- Thu Apr 21, 2011 9:19 am
- Forum: General Support
- Topic: float and STM32
- Replies: 1
- Views: 3025
- Sat Mar 19, 2011 3:05 pm
- Forum: General Support
- Topic: PWM input or input capture mode
- Replies: 11
- Views: 19304
Re: PWM input or input capture mode
I searched in the API, but I can't really find what function in Chibios allow to do the NVIC setup, and what macros for ISR.
- Sat Mar 19, 2011 1:03 am
- Forum: General Support
- Topic: PWM input or input capture mode
- Replies: 11
- Views: 19304
Re: PWM input or input capture mode
Thanks,
Finally I decide to use that method:
- initialize just like if I was using a PWM output (with pwm_start)
- then initialize the needed registers for PWM input capture
It works better, PWM input capture now trigger the call backs functions on each CaptureChannel,
however the value returned ...
Finally I decide to use that method:
- initialize just like if I was using a PWM output (with pwm_start)
- then initialize the needed registers for PWM input capture
It works better, PWM input capture now trigger the call backs functions on each CaptureChannel,
however the value returned ...
- Fri Mar 18, 2011 12:15 am
- Forum: General Support
- Topic: PWM input or input capture mode
- Replies: 11
- Views: 19304
Re: PWM input or input capture mode
Great, thanks, It works, it compiles now with STM32 libs.
My next problem is that as soon as an interrupt for the PWM input triggers, it locks the mcu.
I reused almost all the PWM_input example from STlibs.
Can it be a conflict with NVIC settings ? The was no "misc.c" file in the STM32 libs ...
My next problem is that as soon as an interrupt for the PWM input triggers, it locks the mcu.
I reused almost all the PWM_input example from STlibs.
Can it be a conflict with NVIC settings ? The was no "misc.c" file in the STM32 libs ...
- Thu Mar 17, 2011 4:53 pm
- Forum: General Support
- Topic: PWM input or input capture mode
- Replies: 11
- Views: 19304
Re: PWM input or input capture mode
and can i use the original ST stm32 libs, examples and include files with input capture together and Chibios ? Do you foresee any conflits ? Is there any favorite method to do that cleanly ?
Thanks
Thanks
- Thu Mar 17, 2011 12:53 pm
- Forum: General Support
- Topic: PWM input or input capture mode
- Replies: 11
- Views: 19304
Re: PWM input or input capture mode
Thanks Giovanni.
Meanwhile, can I program myself directly the registers for input capture ? No interference with PWM output, assuming I"ll use a different timer ?
Thanks,
Meanwhile, can I program myself directly the registers for input capture ? No interference with PWM output, assuming I"ll use a different timer ?
Thanks,
- Thu Mar 17, 2011 12:10 am
- Forum: General Support
- Topic: PWM input or input capture mode
- Replies: 11
- Views: 19304
PWM input or input capture mode
Hello,
For STM32 mcu, are the PWM input or input capture modes supported ?
Is there any example how to use them ?
Thanks,
Olivier
For STM32 mcu, are the PWM input or input capture modes supported ?
Is there any example how to use them ?
Thanks,
Olivier
- Sun Mar 06, 2011 10:27 pm
- Forum: General Support
- Topic: Min Flash size
- Replies: 2
- Views: 3837
Re: Min Flash size
Great, I will try
Thanks Giovanni.
Thanks Giovanni.
- Sun Mar 06, 2011 12:13 am
- Forum: General Support
- Topic: Min Flash size
- Replies: 2
- Views: 3837
Min Flash size
Hi,
What is the minimum flash size needed to install chibios ?
For instance, the demo application for STM32F100 takes approximately ~25kbytes. Can it be reduced, and fit in a 16kb MCU ?
Thanks,
What is the minimum flash size needed to install chibios ?
For instance, the demo application for STM32F100 takes approximately ~25kbytes. Can it be reduced, and fit in a 16kb MCU ?
Thanks,