Search found 3 matches

by kalevik
Fri May 03, 2013 7:24 pm
Forum: STM32 Support
Topic: [DONE] STM32F103 PWM driver
Replies: 2
Views: 3103

[DONE] STM32F103 PWM driver

Compiler:
arm-none-eabi-gcc (Sourcery G++ Lite 2010q1-188) 4.4.1

Chibios 2.4.3.

When i use command (definition) pwmChangePeriodI(&PWMD3, new_period_value) i got compiler error 'PWMDriver' has no member named 'new_period_value'.

In file /ChibiOS_2.4.3/os/hal/include/pwm.h (line 183) is definition ...
by kalevik
Thu Feb 07, 2013 6:29 am
Forum: General Support
Topic: Serial Device: usart speed change "on the fly"
Replies: 7
Views: 7981

Re: Serial Device: usart speed change "on the fly"

Giovanni wrote:You can have one structure and change it or multiple constant structures.

Giovanni


Okay, i understand wrong your answer to ucasano, "of course you need multiple configuration structures".

kalevik
by kalevik
Wed Feb 06, 2013 10:39 pm
Forum: General Support
Topic: Serial Device: usart speed change "on the fly"
Replies: 7
Views: 7981

Re: Serial Device: usart speed change "on the fly"

Hi,

You don't need to stop, just call sdStart() again to set new parameters, of course you need multiple configuration structures.

Giovanni

You must be kidding

If i make user selectable communication parameters (with dip switch), lets say 1200-115200 and 1/2 stop bit, i must wrote 16 ...