Posted on January 19, 2016 at 19:10I ran my project settings through the CubeMX program to see if there would be any difference in the settings CubeMX makes. I made one observation that seemed worth mentioning. The systick IRQ priority is set twice:...
Posted on October 21, 2015 at 18:36I tested the HAL function inside of main using something like this: uint8_t Heading[]=''\n\r Send some text\n\r''; if(HAL_UART_Transmit(&UartHandle, (uint8_t *)Heading, sizeof Heading -1, 0xFFFF) != HAL_OK) { ...
Posted on October 12, 2015 at 23:51I have an Discovery board. It has the provision to pass the UART of the target through the on-board ST-Link. I have searched the literature on the board and the manuals. I havent been able to find how this works. I...
Posted on August 19, 2015 at 21:12It is becoming annoying that since ST's inception of a Cortex implementation there have been Standard Peripheral libraries that simply are not standards to rely on.I thought that switching to the HAL libraries would...
Posted on January 19, 2016 at 19:21The HAL library has a receive function that requires the received interrupt is triggered only when the buffer size specified is completely full. If you debug, you may find it has received some data, but the interru...
Posted on December 09, 2015 at 22:11Once the Timer is configured can the output be directed to any pin? I have tried CubeMX and find that if I enable all the intended peripherals and GPIO's I cannot direct PWM to the desired pin.
Posted on November 17, 2015 at 23:33I had a similar problem. The discovery board is set up as if the on-board debugger has virtul com on USART1. It does not. You will need to get out a soldering iron and change some solder bridges on the bottom side...