Modifications

Sauter à la navigation Sauter à la recherche
1 119 octets ajoutés ,  29 juin 2015 à 17:45
Ligne 60 : Ligne 60 :     
{|
 
{|
| align="center" style="background:#f0f0f0;"|'''Peripheral Type'''
+
| align="center" style="background:#f0f0f0;"|'''Type de périphérique'''
| align="center" style="background:#f0f0f0;"|'''Qty'''
+
| align="center" style="background:#f0f0f0;"|'''Quantité'''
| align="center" style="background:#f0f0f0;"|'''Input(I) / Output(O)'''
+
| align="center" style="background:#f0f0f0;"|'''Entrée/Input(I) - Sortie/Output(O)'''
 
| align="center" style="background:#f0f0f0;"|'''FT[1] / 3V3[2]'''
 
| align="center" style="background:#f0f0f0;"|'''FT[1] / 3V3[2]'''
 
|-
 
|-
Ligne 91 : Ligne 91 :     
[3] PWM is available on D0, D1, D2, D3, A4, A5, WKP, RX, TX with a caveat: PWM timer peripheral is duplicated on two pins (A5/D2) and (A4/D3) for 7 total independent PWM outputs. For example: PWM may be used on A5 while D2 is used as a GPIO, or D2 as a PWM while A5 is used as an analog input. However A5 and D2 cannot be used as independently controlled PWM outputs at the same time.
 
[3] PWM is available on D0, D1, D2, D3, A4, A5, WKP, RX, TX with a caveat: PWM timer peripheral is duplicated on two pins (A5/D2) and (A4/D3) for 7 total independent PWM outputs. For example: PWM may be used on A5 while D2 is used as a GPIO, or D2 as a PWM while A5 is used as an analog input. However A5 and D2 cannot be used as independently controlled PWM outputs at the same time.
 +
 +
=== JTAG ===
 +
{|
 +
| align="center" style="background:#f0f0f0;"|'''Photon Pin'''
 +
| align="center" style="background:#f0f0f0;"|'''Description'''
 +
| align="center" style="background:#f0f0f0;"|'''STM32 Pin'''
 +
| align="center" style="background:#f0f0f0;"|'''PØ Pin #'''
 +
| align="center" style="background:#f0f0f0;"|'''PØ Pin Name'''
 +
| align="center" style="background:#f0f0f0;"|'''Default Internal[1]'''
 +
|-
 +
| D7 ||JTAG_TMS ||PA13 ||44 ||MICRO_JTAG_TMS ||~40k pull-up
 +
|-
 +
| D6 ||JTAG_TCK ||PA14 ||40 ||MICRO_JTAG_TCK ||~40k pull-down
 +
|-
 +
| D5 ||JTAG_TDI ||PA15 ||43 ||MICRO_JTAG_TDI ||~40k pull-up
 +
|-
 +
| D4 ||JTAG_TDO ||PB3 ||41 ||MICRO_JTAG_TDO ||Floating
 +
|-
 +
| D3 ||JTAG_TRST ||PB4 ||42 ||MICRO_JTAG_TRSTN ||~40k pull-up
 +
|-
 +
| 3V3 ||Power ||||||||
 +
|-
 +
| GND ||Ground ||||||||
 +
|-
 +
| RST ||Reset
 +
|}
 +
 +
{{underline|Notes:}}
 +
 +
[1] Default state after reset for a short period of time before these pins are restored to GPIO (if JTAG debugging is not required, i.e. USE_SWD_JTAG=y is not specified on the command line.
 +
 +
A standard 20-pin 0.1" shrouded male JTAG interface connector should be wired as follows:
 +
    
{{Spark-Photon-Materiel-TRAILER}}
 
{{Spark-Photon-Materiel-TRAILER}}
29 917

modifications

Menu de navigation