Search found 27 matches

by bartocham
Wed Jan 14, 2015 9:00 am
Forum: STM32 Support
Topic: STemWin Demo
Replies: 3
Views: 3744

Re: STemWin Demo

Ok.

I'll give a try to run STemWin by myself. When I'll finalize it I'll provide an example for ChibiOS community :)
by bartocham
Tue Jan 13, 2015 8:27 pm
Forum: STM32 Support
Topic: STemWin Demo
Replies: 3
Views: 3744

STemWin Demo

Hi Giovanni!

I'm trying to use STemWin on my HY-RedBull board. Do you have some sort of demo or example for STemWin at ChibiOS?

Or maybe other users played with it before?

Regards,

Matthew
by bartocham
Wed Nov 26, 2014 2:13 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - PWM complementary
Replies: 15
Views: 11859

Re: STM32F100 on STM32VL Discovery - PWM complementary

So maybe you have some idea how to obtain that kind of PWM frequency?
by bartocham
Wed Nov 26, 2014 12:29 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - PWM complementary
Replies: 15
Views: 11859

Re: STM32F100 on STM32VL Discovery - PWM complementary

Hi Giovani,

Now it is clear. I'm wondering if it is possible to get 500kHz signal. Can I set PWMConfig like this:

static PWMConfig pwmcfg = {
5000000, /* 5MHz PWM clock frequency */
10,
NULL, /* No callback */
/* Only channel 1 enabled */
{
{PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT ...
by bartocham
Thu Nov 20, 2014 8:19 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - PWM complementary
Replies: 15
Views: 11859

Re: STM32F100 on STM32VL Discovery - PWM complementary

So the setting should be like:

static PWMConfig pwmcfg = {
10000, /* 10Khz PWM clock frequency */
10,
NULL, /* No callback */
/* Only channel 1 enabled */
{
{PWM_OUTPUT_ACTIVE_HIGH | PWM_COMPLEMENTARY_OUTPUT_ACTIVE_HIGH, NULL},
{PWM_OUTPUT_DISABLED, NULL},
{PWM_OUTPUT_DISABLED, NULL ...
by bartocham
Thu Nov 20, 2014 7:30 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - PWM complementary
Replies: 15
Views: 11859

Re: STM32F100 on STM32VL Discovery - PWM complementary

Hi Giovani!

I don't have an oscilloscope and on LEDs it is hard to observe, but correct me if I'm wrong.
I'm trying to get 100Hz PWN signal with 50% DC so my config should like like this one below right?

static PWMConfig pwmcfg = {
10000, /* 10Khz PWM clock frequency */
10,
NULL, /* No ...
by bartocham
Wed Nov 19, 2014 10:27 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - Simple ADC voltage measure
Replies: 13
Views: 10072

Re: STM32F100 on STM32VL Discovery - Simple ADC voltage meas

Again me

Mistery solved! Together with my friend which is using ChibiOs with STM32 for almost three years in tons of projects (experience lvl - Asian. If you know what I mean ) we found a bug in config.

Previous one:

static const ADCConversionGroup adcgrpcfg1 = {
FALSE,
ADC_GRP1_NUM_CHANNELS ...
by bartocham
Wed Nov 19, 2014 9:28 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - Simple ADC voltage measure
Replies: 13
Views: 10072

Re: STM32F100 on STM32VL Discovery - Simple ADC voltage meas

As an addition:

In that moment idle task is marked as current, clock task as sleeping and main as suspended.
by bartocham
Wed Nov 19, 2014 8:44 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - Simple ADC voltage measure
Replies: 13
Views: 10072

Re: STM32F100 on STM32VL Discovery - Simple ADC voltage meas

Ok!
Thank you very much. I would be appreciated if you could help with that. It is really important project for me.
I'll try to do something by myself but I don't think I could do more :(
by bartocham
Wed Nov 19, 2014 6:46 pm
Forum: STM32 Support
Topic: STM32F100 on STM32VL Discovery - Simple ADC voltage measure
Replies: 13
Views: 10072

Re: STM32F100 on STM32VL Discovery - Simple ADC voltage meas

Hi Giovanni!

I tried to debugg it. What I have seen that I didn't get any panic msg. When program was about to do something like IRQ stack return(after tons of F5 so I didn't notice proper name) it got hit in place presented on below screenshot.
NO mother what I press: return and pause again, F5 ...