• Dynamic memory allocation and UART
    Hi friends, I came across a problem with my UART communication.My codes are below. if I use rx_buffer = (uint8_t*)calloc(3,sizeof(uint8_t)); HAL_UART_Receive_IT(&huart1,&rx_data,1); and rx_buffer = (uint8_t...
  • Frame width of PL022 PrimeCell SPI controller
    Hi all, I'm trying to make ARM SPI controller PL022 work with Maxim MAX5134, which can be found here: http://datasheets.maximintegrated.com/en/ds/MAX5134-MAX5137.pdf PL022 support 16 bits width frame...
  • Using UART to write to SRAM
    Hi All, I am using UART to receive values and then write those values to SRAM. I am using the Texas Instruments Stellaris LM4F120 board. For this purpose, I am using the memcpy() function to write the...
  • HardFault on UART initialize
    Hi all! I'm facing a problem with my UART on a STM32F207IG under CMSIS. When I try to initialize the UART the processor disappears in the HardFault_Handler. I think the problem is somehow related to the...
  • My application code is not working when i load its bin file through uart into the flash and jump to the address of the application code (custom bootloader)
    In custom bootloader when i am jumping to application code my msp value is changing after loading the bin file , for example my application has msp value 0x20000D0 but when i load the...