AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
236 stars 141 forks source link

STM32F7xx SPI configuration nok (doubt) #292

Closed HackInvent closed 5 years ago

HackInvent commented 5 years ago

Hi, Those last days I was struggling to make working the ISP of STM32F746. From the drivers I found, you use the configuration to define the data format: image

I think that the svd is not correct in the repo: image

The register field: Periph.CR1.DFF is not compliant with the STM32F7 family reference manual. image

It corresponds to CRCL.

However in the CR2 register there is the Data Size (DS) field to define the format. image

It is present in the svd: image

Am not sure that it's the cause why the format in my communication is the cause,

HackInvent commented 5 years ago

False flag, it's just a naming issue.