cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE, STM32F446RE and SAI2

ACAV
Associate II

As datasheet states (more than once) the LQFP64 package of the 446RE has 2 SAI blocks (both with SAI-A and SAI-B) and in the HAL driver/definitions stm32f446xx.h both are available, but I'm not able to select the 2nd SAI in Cube (it is not shown there !), so the pinout caanot be done ! Any idea what happens there ?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

The LQFP64 package doesn't have the necessary pins broken out to access SAI2. In particular, SAI2_SCK_A, SAI2_SD_A, and SAI2_SD_B are missing which renders SAI2 unusable, even if it is technically on the chip.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

4 REPLIES 4
TDK
Guru

The LQFP64 package doesn't have the necessary pins broken out to access SAI2. In particular, SAI2_SCK_A, SAI2_SD_A, and SAI2_SD_B are missing which renders SAI2 unusable, even if it is technically on the chip.

If you feel a post has answered your question, please click "Accept as Solution".
ACAV
Associate II

Please see the AF table (Alternate Functions) in the datasheet. There, the SAI2 pins are brought out... also in the Pinout table, PA1,PA2,... are notes as "SAI2..." in teh LQFP64

0693W00000HnqBgQAJ.png

ACAV
Associate II

Sorry, you are right... only some of the pins are available, many clocks but NOT any of the SD (data) pins :(

Khouloud ZEMMELI
ST Employee

Hello @ACAV​ ,

Thank you for your post,

You're right, for the whole STM32F446 family, we should have 2x SAI.

Thank you for raising this issue to our attention, it will be fixed :)

Khouloud