Search found 161 matches

by acronis
Sun Feb 18, 2018 12:52 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 147
Views: 7036

Re: [libmaple] Black F407VET6

OK. thanks.
by acronis
Sun Feb 18, 2018 12:32 pm
Forum: General discussion
Topic: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?
Replies: 26
Views: 580

Re: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?

Steve's great !

Everything works as before !
Thank You!
by acronis
Sun Feb 18, 2018 12:27 pm
Forum: STM32F4 Boards
Topic: [libmaple] Black F407VET6
Replies: 147
Views: 7036

Re: [libmaple] Black F407VET6

Steve Please tell me how to do calibration of ADC ? int channel = PIN_MAP[analogInPin].adc_channel; adc_set_sample_rate(&ADC1, ADC_SMPR_1_5); adc_set_reg_seqlen(&ADC1, 1); (&ADC1)->regs->SQR3 = channel; (&ADC1)->regs->CR1 |= 0x70000; (&ADC1)->regs->CR2 |= ADC_CR2_CONT | ADC_CR2_SWSTART;
by acronis
Sun Feb 18, 2018 11:43 am
Forum: General discussion
Topic: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?
Replies: 26
Views: 580

Re: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?

Steve. These options are compiled normally but the code #include <Adafruit_TFTLCD_16bit_STM32.h> Adafruit_TFTLCD_16bit_STM32 tft; #define timer Timer5 #define TIMER5_CH1_PIN PA0 void setup() { tft.reset(); tft.begin(0x9341); tft.setTextSize(1); tft.setRotation(1); tft.setTextColor(BLUE); tft.fillScr...
by acronis
Sun Feb 18, 2018 10:22 am
Forum: General discussion
Topic: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?
Replies: 26
Views: 580

Re: generator on a timer with an interval of 25 nanoseconds ?

Hello steve I updated the library today to your last on F4. on the previous version, this code worked fine - but now gives an error invalid conversion from 'int' to 'gpio_af_mode' [-fpermissive] How to make this work in the latest version of the library ? Try this: #define timer Timer5 #define TIMER...
by acronis
Sun Feb 18, 2018 9:37 am
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 63
Views: 2843

Re: [libmaple] FSMC LCD 16bit

Steven, Thank you so much.

Code: Select all

#define USE_FSMC 1 
It really solved the problem and a compile-time error is no more !
It's great !
by acronis
Sun Feb 18, 2018 4:10 am
Forum: STM32F4 Boards
Topic: [libmaple] FSMC LCD 16bit
Replies: 63
Views: 2843

Re: [libmaple] FSMC LCD 16bit

Hi Steve. I downloaded the latest library for Your display (FSMC LCD 16bit) and now there are compile-time errors. In file included from C:\Users\V\Documents\Arduino\libraries\Adafruit_TFTLCD_16bit_STM32-master\src\Adafruit_common.h:5:0, from C:\Users\V\Documents\Arduino\libraries\Adafruit_TFTLCD_16...
by acronis
Mon Dec 18, 2017 2:10 pm
Forum: General discussion
Topic: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?
Replies: 26
Views: 580

Re: generator on a timer with an interval of 25 nanoseconds ?

Code: Select all

InitMCO1();
How to apply it ?
Can also give a small working example ?
by acronis
Mon Dec 18, 2017 2:04 pm
Forum: General discussion
Topic: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?
Replies: 26
Views: 580

Re: generator on a timer with an interval of 25 nanoseconds ?

Well, it must be a square-wave signal, because it is a digital output PWM signal from timer 5 compare channel 1.
hmmm . But it's not .Why ...

With the oscilloscope

https://yadi.sk/i/Ly1g8RBe3QiqfN
by acronis
Mon Dec 18, 2017 1:47 pm
Forum: General discussion
Topic: [SOLVED] generator on a timer with an interval of 25 nanoseconds ?
Replies: 26
Views: 580

Re: generator on a timer with an interval of 25 nanoseconds ?

If anyone is interested, the measurement results look like this
https://yadi.sk/i/C05IOvNy3Qijun