2019-07-01 11:57 AM
I have an old PCB CAD and 100 pin STM32F746 CPU. I would like to have a component symbol where pins have their functional names. Like for instance USART2_TX/PA2 instead of plain PA2.
And the list must contain every pin and be in CSV format.
This is of course what my old Pads eats, others may have different CAD SW.
Or you could make several PCB Cad formats available.
This is a sample of the file I could import
Pin Group,Number,Name,Type,Swap,Seq.
Pin Group,Number,Name,Type,Swap,Seq
Gate-A,1,RESET/PE2,Undefined,0,
Gate-A,2,GPIO_OUT/PE3,Undefined,0,
Gate-A,3,PE4,Undefined,0,
Gate-A,4,PE5,Undefined,0,
Gate-A,5,TurnOff/PE6,Undefined,0,
Gate-A,6,VBAT,Undefined,0,
Gate-A,7,PC13-ANTI_TAMP,Undefined,0,
Gate-A,8,PC14-OSC32_IN,Undefined,0,
Gate-A,9,PC15-OSC32_OUT,Undefined,0,
Gate-A,10,VSS,Undefined,0,
Gate-A,11,VDD,Undefined,0,
Gate-A,12,PH0-OSC_IN,Undefined,0,
Gate-A,13,PH1-OSC_OUT,Undefined,0,
Gate-A,14,NRST,Undefined,0,
Gate-A,15,PC0,Undefined,0,
Gate-A,16,PC1,Undefined,0,
2019-07-03 02:31 PM
If you can read an xml file this is where cubeMX gets the information:
chip stm32F303 for example:
C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu\STM32F303Z(D-E)Tx.xml
An example of pin information:
<Pin Name="PA2" Type="I/O" Position="36">
<Signal Name="ADC1_IN3"/>
<Signal Name="ADC3_EXTI2"/>
<Signal Name="ADC4_EXTI2"/>
<Signal Name="COMP2_INM"/>
<Signal Name="COMP2_OUT"/>
<Signal Name="OPAMP1_VOUT"/>
<Signal Name="TIM15_CH1"/>
<Signal Name="TIM2_CH3"/>
<Signal Name="TSC_G1_IO3"/>
<Signal Name="USART2_TX"/>
<Signal Name="GPIO" IOModes="Input,Output,Analog,EVENTOUT,EXTI"/>
</Pin>
2019-07-04 04:06 PM
Thank you. I have to check what I can do with this. Maybe copy/paste from notepad to excel. I still wish some flexibility in the documentation.
2019-07-07 01:47 PM
I checked the xml file, it shows all variants which a pin can have. I need just the one I am currently using. In a full board manual editing will create errors.
<Pin Name="PD10" Type="I/O" Position="57"><Signal Name="FMC_D15"/><Signal Name="FMC_DA15"/><Signal Name="LTDC_B3"/><Signal Name="USART3_CK"/><Signal Name="GPIO" IOModes="Input,Output,Analog,EVENTOUT,EXTI"/>