2016-04-25 01:36 AM
This is one for the ST insiders.
On a Nucleo64 (SB21, SB29, SB44 all disconnected) with STM32F446, the PA5 pin has been configured as AF5 (SPI1_SCK/I2S1_CK), push-pull, OSPEEDR set to 0b11 (and later tried also 0b10), compensation cell tried both on and off, DAC at default (i.e. off). SPI1 set to RXONLY mode with clock set to PCLK/2, which should output cca 40MHz onto PA5. The waveform on PA5 is a cca 500mVp-p 40MHz wave riding on a cca +2V DC offset. Cutting down the speed to PCLK/4 results in sane cca 20MHz waveform. SPI1_SCK at a different pin works as expected at PCLK/2 too. The STM32F446 datasheet (rev.5) lists PA5's type as ''TC'', with no explanation what TC might mean... But even then, Table 58. I/O AC characteristics does not indicate that any pin should behave differently as far as output high-speed capability goes. Does PA5 have a different drive than other pins, or do I overlook something? Thanks, Jan Waclawek2016-04-28 03:32 AM
Hi Jan Waclawek,
Does PA5 have a different drive than other pins, or do I overlook something?You are right. It’s a data sheet typo. Thank you for bringing this issue to our attention. It is noted and will be fixed in coming release of the document.-Syrine-2016-04-28 03:49 AM
Hi Syrine,
Thanks for the answer. So, does this mean that PA5 (and probably PA4) has a different AC output specification than other pins, or are you talking only about the ''TC'' marking? If PA5 has different AC specification, is this relevant only for the 'F446, or for other 'F4xx too? Thanks, Jan2017-11-02 08:12 AM
After one and a half year and one version later, this is still unexplained in DS:
Comment, please.
Thanks,
JW
2017-11-08 12:53 PM
Looking at a different STM32 datasheet (STM32F373xx,
) I'm inclined to believe 'TC' means 'Standard 3.3V I/O'.2017-11-08 01:20 PM
Thanks, Dana.
However, note, that in 'F373, the pins which have ADC functionality are
TTa 3.3 V tolerant I/O directly connected to ADC
and note, that PA4 and PA5 in 'F446 *do* have ADC (and DAC) functionality.
Also, compare to 'F407 datasheet - PA4 and PA5 there are marked TTa, with the same explanation, directly connected to ADC.
And it also does not explain the problem presented in opening post.
JW
2017-11-08 01:54 PM
Indeed; 'TC' doesn't seem to describe what 'F446 PA5 is behaving like, though your description makes it sound like there's more than a datasheet error in play here.