Search found 32 matches

by albi
Wed Apr 06, 2011 8:33 pm
Forum: Development and Feedback
Topic: Some things about PWM driver
Replies: 18
Views: 7906

Re: Some things about PWM driver

Sorry for delay, the time running quick. it remains to be defined if this more complex system can be built on top of the simple PWM driver or it has to be something different. I think they can, provided it has clear boundaries, which related solely to its specific use. IMO this is a very good job, I...
by albi
Tue Apr 05, 2011 9:58 am
Forum: Development and Feedback
Topic: Some things about PWM driver
Replies: 18
Views: 7906

Re: Some things about PWM driver

I wont clarify a bit my point of view (of an user point of view): The pulse wave modulation is pertinent to a specific field of applications, motors drive, power conversion, dimming etc. during this work, arbitrary values are continuosly passed to update the duty-cycle or frequency with costant roun...
by albi
Mon Apr 04, 2011 4:24 pm
Forum: Development and Feedback
Topic: Some things about PWM driver
Replies: 18
Views: 7906

Re: Some things about PWM driver

Anyway OK, I will remove the channels disabling from the trunk because the fixed width mode is a very good point. I suggest to not modify pwm_lld_change_period and add a dedicated function like pwm_lld_update_period About changing from period to frequency, that would introduce truncation/rounding p...
by albi
Mon Apr 04, 2011 3:49 pm
Forum: Development and Feedback
Topic: Some things about PWM driver
Replies: 18
Views: 7906

Re: Some things about PWM driver

It is because it would have to recalculate the duty cycle for all channels, the information is not stored in the driver but only into the comparator registers. It would be possible to scale the values into the comparators but there would be issues with rounding or truncation. I understand the point...
by albi
Sun Apr 03, 2011 9:06 pm
Forum: Development and Feedback
Topic: Some things about PWM driver
Replies: 18
Views: 7906

Re: Some things about PWM driver

Hi Giovanni why, in pwm_lld_change_period, have you disabled the channels when update the pwm frequency? In general, in power conversion applications a pwm channel, could be used in fixed frequency and variable duty-cycle mode but also in fixed "time on" and variable frequency mode. I thin...
by albi
Sun Apr 03, 2011 6:27 pm
Forum: Development and Feedback
Topic: Dynamic clock configuration
Replies: 3
Views: 1882

Re: Dynamic clock configuration

My actual project is a board powered by rechargeable accumulators, the power autonomy is a primary requirement. Now i run the uC at 48Mhz because i've to use the usb for data download, but when i don't use this, i could save power running the uC at 16 MHz. From my point of view is a welcomed feature...
by albi
Sun Apr 03, 2011 3:22 pm
Forum: Development and Feedback
Topic: Some things about PWM driver
Replies: 18
Views: 7906

Re: Some things about PWM driver

Do you mind giving a try to the merged features?

Sure! the next week.

Alberto
by albi
Sun Apr 03, 2011 11:32 am
Forum: Development and Feedback
Topic: Trouble about pal_lld_writegroup macro
Replies: 2
Views: 1453

Re: Trouble about pal_lld_writegroup macro

and same in palTogglePort
by albi
Sun Apr 03, 2011 11:20 am
Forum: Development and Feedback
Topic: Input Capture driver
Replies: 6
Views: 3466

Re: Input Capture driver

Hi, Giovanni

sorry for delay, on these days i'm very, very busy.
I return on the argument from some days

Alberto
by albi
Sun Apr 03, 2011 11:17 am
Forum: Development and Feedback
Topic: Trouble about pal_lld_writegroup macro
Replies: 2
Views: 1453

Trouble about pal_lld_writegroup macro

Hi Giovanni, there is a trouble using the pal_lld_writegroup(port, mask, offset, bits) with if() statement without graph parenthesis I resolved sorrunding the macro by round parenthesis #define pal_lld_writegroup(port, mask, offset, bits) ( \ (port)->BSRR = ((~(bits) & (mask)) << (16 + (offset))...

Go to advanced search