Search found 9 matches

by iman
Sat Jul 18, 2015 11:39 pm
Forum: STM32 Support
Topic: EXT Interrupt question
Replies: 8
Views: 4875

Re: EXT Interrupt question

I just changed demo file like this:

...
static const EXTConfig extcfg = {
{
{EXT_CH_MODE_RISING_EDGES | EXT_CH_MODE_AUTOSTART | EXT_MODE_GPIOA, extcb1},
{EXT_CH_MODE_DISABLED, NULL},
{EXT_CH_MODE_DISABLED, NULL},
...

and I got this error:
"Compiling main.c
main.c:50:6: error: 'EXT_CH_MODE ...
by iman
Sat Jul 18, 2015 9:28 pm
Forum: STM32 Support
Topic: EXT Interrupt question
Replies: 8
Views: 4875

Re: EXT Interrupt question

Hi

I want to use EXT as rising edge but when I change EXT demo file to rising edge or falling edge it gets error. Is there any other configuration which I missed?(I'm using STM32F3&4)
by iman
Sat Jul 18, 2015 9:22 pm
Forum: STM32 Support
Topic: DAC driver for STM32 *almost* done
Replies: 24
Views: 15241

Re: DAC driver for STM32 *almost* done

Hi

I want to know that what is the highest frequency for GPT in order to use it for DAC driver on STM32F3?
by iman
Sat Apr 18, 2015 4:16 pm
Forum: STM32 Support
Topic: STM32F4 ADC configuration
Replies: 19
Views: 16509

Re: STM32F4 ADC configuration

Hi,

I want to use ADC but I can't understand adc configuration well, for example whats the usage of ADC_GRP1_NUM_CHANNELS ?

I want to measure only one signal by ADC in dual mode. I want some description on these lines:


#define ADC_GRP1_NUM_CHANNELS 2
#define ADC_GRP1_BUF_DEPTH 8

#define ADC ...
by iman
Tue Nov 04, 2014 9:13 pm
Forum: User Projects
Topic: build a DAQ card by STM32F4 discovery
Replies: 10
Views: 10554

Re: build a DAQ card by STM32F4 discovery

Hi

I mean that, even demo code doesn't work on the board :!:
by iman
Mon Nov 03, 2014 3:42 pm
Forum: User Projects
Topic: build a DAQ card by STM32F4 discovery
Replies: 10
Views: 10554

Re: build a DAQ card by STM32F4 discovery

Hello Giovanni

I have upgrade chibiOS source today, but STM32F3 discovery board stop working after uploading an example code on it, when press restart button! While it's working by previous version well.


Thanks a lot................Iman
by iman
Tue Sep 16, 2014 8:31 pm
Forum: User Projects
Topic: build a DAQ card by STM32F4 discovery
Replies: 10
Views: 10554

Re: build a DAQ card by STM32F4 discovery

I'm very new to chibiOS, I want to read ADC and send converted value to PC by UART. In testhal example, converted ADC value store in which variable?
how can I buffer data to prevent getting memory full?
by iman
Tue Sep 16, 2014 7:45 pm
Forum: User Projects
Topic: build a DAQ card by STM32F4 discovery
Replies: 10
Views: 10554

Re: build a DAQ card by STM32F4 discovery

Hello Giovanni

I see an example from ST by keil that show it can read ADC about 6.2MS, here is that:
https://www.dropbox.com/sh/e5qi2z4qht85 ... -S1Ka?dl=0

but I want to read ADC as fast as possible and 10MS is very good for my application so do you have any example for STM103 by chibiOS? or any tutorial?

Thanks a lot...............Iman
by iman
Mon Sep 15, 2014 9:47 pm
Forum: User Projects
Topic: build a DAQ card by STM32F4 discovery
Replies: 10
Views: 10554

build a DAQ card by STM32F4 discovery

Hello

I wanto to know that may I read ADC with 6-7MS by chibiOS? I want to build a DAQ card by STM32F4 discovery board, is there any example that show me how I must implement it by using chibiOS? in my project first of all I want to read ADC as fast as possible and store it in external memory then ...