STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Easiest way to get data out of STM32F0308-DISCO?

Posted on July 13, 2016 at 23:21So, the Cortex-M0 doesn't support tracing (so it doesn't support semihosting). The board has a TX & RX pin and a corresponding pair of solder bridges, but the manual says ''reserved''. So is it best to connect an exte...

Mapping assembly code

Posted on July 14, 2016 at 17:27 I'm using an STM32L151 board and I want to know how to map a memory address to its function. For example: LDR.W R0, =0x20002A20 MOVS R2, #4 MOVS R1, #4 STR R1, [R0,#0x14] LDR.W R1, =0x20002224 STR.W R2, ...

CAN Driver bug (?!)

Posted on April 16, 2015 at 16:42I think i found an bug in the CAN driver. Explain me this:a) Receiving 1. In the example application HAL_CAN_Receive_IT is called from HAL_CAN_RxCpltCallback 2. Looking in the implementation of the driver we see that...

STM32L073 NAND flash wear leveling code

Posted on July 14, 2016 at 13:02Hi, I am working on STM32L073 board with a SPANSION NAND flash memory. I would like to implement a wear leveling system to it but seem like there is no example code inside the STM32CubeL0. Is there any wear leveling e...

STM32F746 FMC Issues

Posted on July 14, 2016 at 14:51I have a Spartan-6 FPGA connected to an STM32F746IG using the FMC. The FMC is configured for SRAM in region 1.1 (0x60000000). I have disabled caching of the FMC region in the MPU. I see FMC read & write cycles with th...

kurth by Associate
  • 275 Views
  • 0 replies
  • 0 kudos

response to ''HAL Code Quality''

Posted on July 14, 2016 at 14:16Hello Mayla,here are some examples:*  If there is a function that can not fail, please use void as return type:„HAL_StatusTypeDef HAL_DeInit(void)'' should be „void HAL_DeInit(void)“. If the software does not contain ...

torsten2 by Associate II
  • 394 Views
  • 0 replies
  • 0 kudos

STM32L0 complementary PWM

Posted on July 13, 2016 at 14:47Hi everybody, in the datasheet of the STM32L073VB, it says there is no advanced timer with complementary PWM output. Still we need two complementary outputs, very simple without delay function. Is it possible to use a...

USB MSC library - null pointers

Posted on July 11, 2016 at 08:28In the file ''usbh_msc.c'' generated by CubeMX there seem to be various instances of null pointer dereferencing. Many functions begin with this statement: MSC_HandleTypeDef *MSC_Handle =  (MSC_HandleTypeDef *) phost->...