Search found 15 matches

by KHODIDAS11
Sat Feb 03, 2018 12:17 pm
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 15
Views: 835

Re: Driving LED dim/glow using PWM pins and MOSFET

please refer datasheets of both mosfets. I think you need to increase gate voltage for turning, this can be observed through your experiment. as arduino uno 5voutput is 5v pulses from pwm and is fed to mosfet gate. while your stm32 runs at 3.3v so you have gpio pulses at 3.3v. Also as per theory, if...
by KHODIDAS11
Wed Jan 31, 2018 9:55 am
Forum: General discussion
Topic: [SOLVED] generate .HEX file
Replies: 5
Views: 220

Re: generate .HEX file

Hi thank you for help. it works and creates a proper hex file. Now i have another relevent issue, my kit uploads *.bin file, while as you have given steps for *.hex file, after creating hex file i observed that separate *.bin bile is not created. If it is so, we can have *.bin as well as *.hex, and ...
by KHODIDAS11
Tue Jan 30, 2018 6:37 am
Forum: General discussion
Topic: [SOLVED] generate .HEX file
Replies: 5
Views: 220

[SOLVED] generate .HEX file

Hi All, I am using black STM32F407VET6 and STM32F100 Value Line discovery board. For hat i am using geniric STM32F407 sseries/ Black 407VET/ZET board and STM32VLD TO FLASh respectively. After compiling any programm Arduino IDE generates. *.elf and *.bin files in temp folder. Now I want *.hex file wh...
by KHODIDAS11
Tue Jan 30, 2018 5:27 am
Forum: All other boards
Topic: STM32F100 STM32VLD TO FLASH BOARD DAC
Replies: 2
Views: 226

Re: STM32F100 STM32VLD TO FLASH BOARD DAC

void setup() { Serial.begin(9600); // put your setup code here, to run once: pinMode(PA4,PWM); } void loop() { // put your main code here, to run repeatedly: int i; for(i=0;i<=65535;i+=500) { pwmWrite(PA4,i); Serial.write(i); delay(20); } } i am trying this , here , istead of PWM i have used DAC, b...
by KHODIDAS11
Sat Jan 27, 2018 9:40 am
Forum: All other boards
Topic: STM32F100 STM32VLD TO FLASH BOARD DAC
Replies: 2
Views: 226

STM32F100 STM32VLD TO FLASH BOARD DAC

hi

I am using STM32F100 valueline discovery board. I have selected STM32VLD TO FLASH CORE in arduino.

As Stm32f100 has DAC output on PA4 annd PA5 PIns, How to write DAC program. I have done, adc, pwm, uart, digital read, digital write etcc..
by KHODIDAS11
Sat Jan 27, 2018 7:07 am
Forum: Custom design boards
Topic: [SOLVED] the best way to use 16MHz crystal (given board [STM32F1]) ?
Replies: 21
Views: 701

Re: [SOLVED] the best way to use 16MHz crystal (given board [STM32F1]) ?

Hi Done with 12Mhz also, found help from https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/896cb2d3c7354db216a80998b4b8d273e39dd399/STM32F1/variants/generic_stm32f103c/wirish/boards_setup.cpp I observed my PLL multiplier was at 3 which gives clock peripherals as 36Mhz I have done PLL multipl...
by KHODIDAS11
Sat Jan 27, 2018 5:33 am
Forum: Custom design boards
Topic: [SOLVED] the best way to use 16MHz crystal (given board [STM32F1]) ?
Replies: 21
Views: 701

Re: [SOLVED] the best way to use 16MHz crystal (given board [STM32F1]) ?

Hi

i have added this line for 16MHz, it worked

RCC_BASE->CFGR |= RCC_CFGR_PLLXTPRE;


Can you help for 12 MHz, as i want to run my system on it.
by KHODIDAS11
Fri Jan 26, 2018 11:47 am
Forum: STM Core
Topic: Getting Blinky to work on STM32 Value line Discovery board STM32F100RB
Replies: 11
Views: 1269

Re: Getting Blinky to work on STM32 Value line Discovery board STM32F100RB

I have checked it has to 8 Mhz, but i want to use 12Mhz and i FIxed it. Due to this probelm is occuring with baud rate.

Now , I wnat to change crystal setting in arduino ide from 8 to 12Mhz, how to do it?
by KHODIDAS11
Fri Jan 26, 2018 9:51 am
Forum: STM Core
Topic: Getting Blinky to work on STM32 Value line Discovery board STM32F100RB
Replies: 11
Views: 1269

Re: Getting Blinky to work on STM32 Value line Discovery board STM32F100RB

I go t working, as i have selected board STM32VLD TO FLASH in ide. (borad has STM32F100RB and STM32F103 as stlink. it is a value line discovery kit from ST) got function of blinky, pwm, and serial. I find problem in serial, Serial pin is PA9-TX and PA10-Rx. I have changed crystal in Boards.txt as 10...
by KHODIDAS11
Thu Sep 21, 2017 10:15 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hi every one KHODIDAS from INDIA
Replies: 4
Views: 242

Re: Hi every one KHODIDAS from INDIA

Thanks,

Hope you or any one can help to do so.

I am also trying