Skip to main content
just4you
Associate III
June 30, 2017
Question

STM32F0 Cube FW Library's SPI bug

  • June 30, 2017
  • 1 reply
  • 590 views
Posted on June 30, 2017 at 04:40

F0 cube library's SPI API has problems.

In spite of running 8 bit transmission mode, the library transmit a 16 bit data.

So the misalignment check routine does not filter the unaligned address on 8 bit mode.

Then, I think this 8 bit transmission code does not communicate with 16 bit transmission,

the way F4 cube library works.

It's not welcome method, because user can not expect inside 16 bit transmission of the SPI API functions.

    This topic has been closed for replies.

    1 reply

    ST Technical Moderator
    July 3, 2017
    Posted on July 03, 2017 at 16:43

    Hi

    Whang.Se_Hee

    ,

    I think your are using an old STM32CubeF0 version, asthis limitation is fixed within the STM32CubeF0 firmware package V1.8.0 (available since 07-April-2017)

    Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks