Posted on December 21, 2016 at 15:57Hello,If I set a bit in the RCC_AHB1RSTR or other clock corresponding registers. Does it reset the configuration registers for the peripheral?I ask because I remember reading it, however, I cannot find my source. ...
Posted on October 13, 2016 at 17:56Hello,I am writing my own context switcher for tasking on the STM32F767ZI. This is a Cortex-M7. In the arm Generic user guide in the FPU section, it talks about allowing the processor to set Control.FPCA bit if I s...
Posted on August 30, 2016 at 19:05I am playing with the ITCM RAM on a Nucleo-144 board. I am having problems with the ITCM RAM causing a hard fault when I call a subroutine from inside a subroutine. I have successfully used the ITCM RAM to store a f...
Posted on July 12, 2016 at 05:18
Hello,
Here is my code
static void SPI_EnableMaster(SPI_TypeDef *SPIx,
uint16_t SPI_CLOCKDIV, uint16_t SPI_MODE,
uint16_t SPI_DATA_SIZE, uint16_t SPI_LSBFIRST)
{
SPI_DATA_SIZE--;
SPIx->CR2 = (...
Posted on June 24, 2016 at 07:52Circle OS used to be a GUI software for the STM32 line of microcontrollers. I am looking at building my own object handling software from the ground up, but I need some guidance so I wanted to reference Circle OS.Does...
Posted on December 21, 2016 at 22:42I checked the reset set bit. Well it doesn't run without the bit reset. So how many cycles do I need to set the bit to allow the peripheral to reset?Thanks!
Posted on December 21, 2016 at 22:37Thank you for the information! That really helped and it works! Now, do I need to reset the bit manually? Or will it reset on its own after the reset. I can't find any documentation on it.
Posted on October 13, 2016 at 18:38I tried to set the floating point context save address (FPCAR) to more than 128 bytes below my stack and I am still having issues.I get a hard fault if I set ASPEN, try to use a float, and then context switch.Does ...
Posted on August 31, 2016 at 02:08
Ok so I did a ton of digging and found a few interesting things that may help.
I found that the hardfault was a forced hardfault. So I printed the registers to show what fault led to the hardfault. It wa...