Search found 13 matches

by SHARANYA
Tue Feb 13, 2018 5:24 pm
Forum: STM Nucleo boards
Topic: How to generate 100khz pwm frequency on STM32L476 Nucleo board
Replies: 5
Views: 180

Re: How to generate 100khz pwm frequency on STM32L476 Nucleo board

Come on guys....62 reads,still no reply!!Please help.....
by SHARANYA
Wed Feb 07, 2018 5:53 pm
Forum: STM Nucleo boards
Topic: How to generate 100khz pwm frequency on STM32L476 Nucleo board
Replies: 5
Views: 180

How to generate 100khz pwm frequency on STM32L476 Nucleo board

As the title implies,please give me some clue about how to generate 100khz or more pwm frequency using STM32L476 Nucleo board.I am going to build a Solar charge controller unit for my home use to charge a 150AH SLA battery.I want to build a buck converter using the STM32 board. Any help is appreciat...
by SHARANYA
Sun Nov 26, 2017 5:18 pm
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

Re: How to change the clock speed of STM32L476RG nucleo board?

I edited my post on FCPU/6.. I didn't understand! By the way,thank u a lot for your great feedback...Basically I am building a programmable power supply.The hardware is completed with atmega328p and firmware is written in the Atmel studio using avr-gcc. Basically I bought this stm32 board a long ti...
by SHARANYA
Sun Nov 26, 2017 3:20 pm
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

Re: How to change the clock speed of STM32L476RG nucleo board?

I am already measuring in 1:10 mode.I also tried with 1:1 mode but everything remains the same!
The max frequency you may see on your oscope is F_CPU/6 (you need 6clocks to toggle once)
But how the speed is 48Mhz here?
by SHARANYA
Sun Nov 26, 2017 2:20 pm
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

Re: How to change the clock speed of STM32L476RG nucleo board?

I suspected that.Thanks a lot for the reply.Now I scoped and got a speed of 40MHz for each segment of the code!But one thing I would like to ask. Why the signals are Sinusoidal type in nature?I scoped a signal coming out of a AVR at 2MHz that was perfectly square.Is this happening due to the scope's...
by SHARANYA
Sun Nov 26, 2017 1:22 pm
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

Re: How to change the clock speed of STM32L476RG nucleo board?

I tried this code below.But i'm getting the speed of 2.72MHz max.The off time is much more longer than on time.Why is this happening? void setup() { // put your setup code here, to run once: pinMode(13,OUTPUT); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: GPIOA-...
by SHARANYA
Sun Nov 26, 2017 10:52 am
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

Re: How to change the clock speed of STM32L476RG nucleo board?

Ok.....now i am able to get the current CPU core clock speed by writting this small piece of code. void setup() { // put your setup code here, to run once: extern uint32_t SystemCoreClock; Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: Serial.println(SystemCoreClo...
by SHARANYA
Sat Nov 25, 2017 10:07 pm
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

Re: What is the speed of STM32L476RG nucleo board?

Can you please give an code example.I am not very fluent in the arduino thing! I tried like this below in the arduino: void setup() { // put your setup code here, to run once: #define F_CPU 80000000 SystemCoreClockUpdate(); pinMode(13,OUTPUT); } void loop() { // put your main code here, to run repea...
by SHARANYA
Sat Nov 25, 2017 7:47 pm
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

Re: What is the speed of STM32L476RG nucleo board?

I used to program the stm32l476 using hal and cube mx before so I have an idea.But how to define the clock speed in the arduino environment?
Also is there a way to know what the current speed the cpu is operating on?
by SHARANYA
Sat Nov 25, 2017 6:46 pm
Forum: STM Nucleo boards
Topic: How to change the clock speed of STM32L476RG nucleo board?
Replies: 16
Views: 406

How to change the clock speed of STM32L476RG nucleo board?

Hi experts
I was just wondering about the speed of the stm32l476rg nucleo board!
For say,the arduino uno operates on 16Mhz.What is the clock speed of the stm32l476 in the Arduino environment?