Search found 38 matches

by FRANCISCOGIMENO
Mon Dec 04, 2017 10:18 pm
Forum: IDE's
Topic: [SOLVED] Problems with the compiler after installing stm32 core
Replies: 2
Views: 129

Re: Problems with the compiler after installing stm32 core

Ok thanks to the end her a library that I had to reinstall.
But I do not know why it has been modified because I have not touched it. but good and this one.

Thanks for everything.
by FRANCISCOGIMENO
Mon Dec 04, 2017 1:15 pm
Forum: IDE's
Topic: [SOLVED] Problems with the compiler after installing stm32 core
Replies: 2
Views: 129

[SOLVED] Problems with the compiler after installing stm32 core

Hello friends, A very strange thing happens to me. after installing stm32 core in the arduino ide, I select a project that worked correctly for Mega 2650 compiles it without errors and I transfer it to the mega, but what is programmed does not work well. If I take the direct Hex file that I had save...
by FRANCISCOGIMENO
Wed Nov 29, 2017 5:01 pm
Forum: STM Nucleo boards
Topic: [SOLVED]How to read the ID number?. REG [UID]
Replies: 3
Views: 390

Re: How to read the ID number?. REG [UID]

Thank you and sorry,

I had searched by putting the name of the record and nothing appeared with direct relationship.

Thank you
by FRANCISCOGIMENO
Wed Nov 29, 2017 3:56 pm
Forum: STM Nucleo boards
Topic: [SOLVED]How to read the ID number?. REG [UID]
Replies: 3
Views: 390

[SOLVED]How to read the ID number?. REG [UID]

Hi, who knows how to read the fixed serial number of the chip?

a greeting
by FRANCISCOGIMENO
Wed Nov 29, 2017 1:49 pm
Forum: STM Nucleo boards
Topic: [SOLVED]Interruptions in the timer do not work
Replies: 26
Views: 697

Re: Interruptions in the timer do not work

Ok. Ok, IT ALREADY WORKS FINALLY :D :D :D :D :D Many many thanks, everyone. Summarized for the one that happens to me and does not go crazy ... :roll: :roll: Change the timer.c file All these void TIM.... for these WEAK void TIM...... and save. When the interruption is defined in this way: extern "C...
by FRANCISCOGIMENO
Wed Nov 29, 2017 12:22 pm
Forum: STM Nucleo boards
Topic: [SOLVED]Interruptions in the timer do not work
Replies: 26
Views: 697

Re: Interruptions in the timer do not work

Excuse me but I do not understand what you mean.
by FRANCISCOGIMENO
Wed Nov 29, 2017 11:18 am
Forum: STM Nucleo boards
Topic: [SOLVED]Interruptions in the timer do not work
Replies: 26
Views: 697

Re: Interruptions in the timer do not work

Hello Core: nucleo STMF303 - F303K8 and that line where I put it, because I tested the start of the program: extern "C" void TIM6_DAC_IRQHandler(); and I get an error. core.a(timer.c.o)*: In function TIM6_DAC1_IRQHandler timer.c*: (.text.TIM6_DAC1_IRQHandler+0x0): multiple definition of TIM6_DAC1_IR...
by FRANCISCOGIMENO
Wed Nov 29, 2017 10:58 am
Forum: STM Nucleo boards
Topic: [SOLVED]Interruptions in the timer do not work
Replies: 26
Views: 697

Re: Interruptions in the timer do not work

The code is compiled well and the counter counts according to plan. Both in your example and in the previous one published by me. The problem is that when you reach the end of the account, the micro is blocked and never enters the interruption, it's as if I was going to look for that interruption an...
by FRANCISCOGIMENO
Tue Nov 28, 2017 7:06 pm
Forum: STM Nucleo boards
Topic: [SOLVED]Interruptions in the timer do not work
Replies: 26
Views: 697

Re: Interruptions in the timer do not work

This does not trigger the event either: void tim6_init() { RCC->APB1ENR |= RCC_APB1ENR_TIM6EN; // Enable TIM6 clock TIM6->PSC = 41999; // Set prescaler to 41999 TIM6->ARR = 5999; // Set auto-reload to 5999 TIM6->CR1 |= TIM_CR1_OPM; // One pulse mode TIM6->EGR |= TIM_EGR_UG; // Force update TIM6->SR ...
by FRANCISCOGIMENO
Tue Nov 28, 2017 6:32 pm
Forum: STM Nucleo boards
Topic: [SOLVED]Interruptions in the timer do not work
Replies: 26
Views: 697

Re: Interruptions in the timer do not work

Well I do not know, even though I look at the data sheet RM0316 Reference manual
and the modes of configuration:
AN4013 Application note STM32 cross-series timer overview
AN4776 Application note General-purpose timer cookbook

I do not see the fault.

:shock: