2017-11-08 12:05 PM
In the STM32F030X8 datasheet the PortB pin 15 alternate function AF0 is both SPI1_MOSI and SPI2_MOSI
(see table 13 on page 35 of en.DM00088500.pdf). The pin 15 is just an example - there are more of such.
How can this be resolved? Is there some other register that specifies the SPI module to connect to the pin?
#gpio-alternate-function-ambiguitySolved! Go to Solution.
2017-11-08 04:28 PM
How can this be unclear?
Seems like a bond-out specific
No, these are simply completely different chips.
Btw. do you remember how did the 'F030 happen, that it was clearly said to be only a less-tested 'F051? The 'F030x8 is identical to 'F051.
JW
2017-11-08 12:27 PM
Look at the alternate function register. Look at table 12 to 16 in the datasheet
2017-11-08 03:25 PM
Seems like a bond-out specific either/or, should be notes indicating which part provides what. Similar thing goes on with the USART
2017-11-08 04:28 PM
How can this be unclear?
Seems like a bond-out specific
No, these are simply completely different chips.
Btw. do you remember how did the 'F030 happen, that it was clearly said to be only a less-tested 'F051? The 'F030x8 is identical to 'F051.
JW
2017-11-08 07:03 PM
>>
No, these are simply completely different chips.
I was trying to be charitable, as there really shouldn't have been a need to do stupid stuff like this, there are enough empty AF slots for this to have been achieved in a coherent way across die and package combinations.
Perhaps after a long lunch, and high CO2 levels in the conference room?
I would have use some of the empty AF slots on other designs to switch USART RX/TX pairing
2017-11-08 11:01 PM
Thank you Jan! I read through these remarks several times, but did not get it, untill you point it.
2017-11-09 01:13 AM
Perhaps after a long lunch, and high CO2 levels in the conference room?
:D
2017-11-09 02:40 AM
Have also a look at the SYSCFG_CFGR1 for remapping functions.