Posted on March 14, 2017 at 17:30 The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on January 08, 2016 at 14:29According to http://www.beyondlogic.org/usbnutshell/usb2.shtml#PowerVbus, a vbus powered USB device (slave) can only pull more than 100 mA after it negotiated with the host (e.g. PC): ''High power bus powered funct...
Posted on October 07, 2015 at 11:45
I have a SPI slave (RX only) and need to use it with CRC check enabled (STM32F4, 8bit CRC generator of SPI unit).
To process the high amount of data, I use a P2M DMA.
What is the correct way to stop/ca...
Posted on October 05, 2015 at 09:46I need to receive a lot of SPI data on a STM32F4. To handle this, I use a DMA buffer in circular mode. Also, I need to use the CRC feature. How ever this seems not to be possible with the HAL according to this note...
Posted on September 29, 2015 at 15:32
I am using the STM32F4 as an SPI slave.
The signal is comming with LSB first, CPOL=0, CPHA=0.
See image below, which shows the reception of 0x44:
Neverthe less, I seem to have to ...
Posted on January 18, 2016 at 10:13
For me, I had to add the following include in cmsis_os.h:
#include ''stm32f4xx.h'' before
#include ''core_cmFunc.h'' How ever it gets overwritten on every re-generation from ST32CubeMX.
T...
Posted on January 08, 2016 at 16:28
Thank you very much for your explanations!
With your hint, I found the file
Middlewares\ST\STM32_USB_Device_Library\Class\CDC\Src\usbd_cdc.c which contains the following section:
/* USB CDC devic...
Posted on October 12, 2015 at 14:59
I asked the ST Support to look into this.
They very quickly replied and told me this:
There is a bug in the library. The DMA stop triggers the DMA interrupt and the driver expects data. I created so...
Posted on October 07, 2015 at 15:37Sorry to reopen an old thread. I have a problem which looks similar to this one. I would be very glad to get some help for this: [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/...
Posted on October 07, 2015 at 12:00
HAL_SPI_Receive() will return a status, but not the received data!
Try this:
HAL_SPI_Receive(&hspi1,data8,1,1000);
resultvalue = data8[0];
resultvalue <<= 8;
HAL_SPI_Receive(&hspi1,data8,1,1000);...