Posted on July 17, 2015 at 04:14
Hello.
I'm trying, for the first time in my life,to implement the printf/scanf functions on GCC.
I managed to get the UART working in interrupt mode but somehow I can not do the easiest part. That is, I...
Posted on July 16, 2015 at 03:57
I'm using the HAL drivers for the first time and I'm trying to implement the UART protocol. I used the stm32f74g... examples for the UART and copied part of the uart-polling example.
The problem I get is t...
Posted on June 26, 2015 at 12:32
Hi,
I'm trying to toggle some pins when timer 8 overflows.
The problem I get is that I don´t see the pins toogle but I can see the timer counting on the debugger, so I think I might be missing some ...
Posted on May 23, 2015 at 22:22Is there a way of acessing Tim2 3 4... CC interrupts since they are not declared?Or do I have to access them by TIMx_IRQHandler? Thanks
Posted on May 09, 2015 at 20:26Hi, I'm trying to set DMA2 to do a Memory-to-Peripheral trasfer from memory to GPIOB. But now, I'm stuck with a problem since I want to configure the DMA transfer speed to 1/8 of the Bus clock(168Mhz). Is there any way...
Posted on July 17, 2015 at 15:58Yeah, thanks clive! I managed to solve the problem thanks to you.When I found that error of ''Attempting to execute a coproccessor instruction'' on the SCB->CFSR it hit me that the FPU might not be enabled and that wa...
Posted on July 17, 2015 at 15:07The changes I made to my LinkerScript.ld/* Highest address of the user mode stack */_estack = 0x2004FF00; /* end of RAM *//* Generate a link error if heap and stack don't fit into RAM */_Min_Heap_Size = 0x200;; ...
Posted on July 17, 2015 at 05:31Just tested the __write directly to print 20 characters. It worked fine. Tomorrow, I will try to enable all the exeption handlers to see if I can find the cause of the hard fault.I already saw from the assembly, that ...
Posted on July 16, 2015 at 04:10I found out the problem, and I will post the solution for others.In the UART examples, the OverSampling is not set and by default ( when not initizalized ) is at UART_OVERSAMPLING_16. To solve it I just change the Ove...
Posted on July 11, 2015 at 23:22Finally got the board and tried to put some blinking led code to test it.I was sucessfull getting the program to run but the TFT LCD is always white without me calling any LCD function. Any ideias why he is not off?I ...