поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN2710 датащи(PDF) 14 Page - STMicroelectronics

номер детали AN2710
подробное описание детали  Safe GPIO port configuration in STR7xx devices
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2710 датащи(HTML) 14 Page - STMicroelectronics

Back Button AN2710 Datasheet HTML 10Page - STMicroelectronics AN2710 Datasheet HTML 11Page - STMicroelectronics AN2710 Datasheet HTML 12Page - STMicroelectronics AN2710 Datasheet HTML 13Page - STMicroelectronics AN2710 Datasheet HTML 14Page - STMicroelectronics AN2710 Datasheet HTML 15Page - STMicroelectronics AN2710 Datasheet HTML 16Page - STMicroelectronics AN2710 Datasheet HTML 17Page - STMicroelectronics AN2710 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 30 page
background image
STR75x general-purpose I/O ports (GPIO)
AN2710
14/30
And obviously, the corresponding port should not be driven externally as it will be driven by
the firmware using the GPIO controller.
●
For alternate function outputs, the port must be configured in Alternate Function Output
mode (push-pull or open-drain).
●
For bidirectional alternate functions, the port bit must be configured in Alternate
Function Output mode (push-pull or open-drain). In this case the input driver is
configured in input floating mode
Configuring a port bit as Alternate Function Output will disconnect the output latch and
connect the pin to the output signal of an on-chip peripheral.
If firmware configures a GPIO pin as Alternate Function Output, but no peripheral output
alternate function exists for that pin (refer to the datasheet pin description table), its output is
not specified.
Special case of SSP bidirectional alternate functions
When using the SSP, the MISO, MOSI, NSS and SCK alternate functions consist of
bidirectional alternate functions. They must be configured as alternate function output
through the Port Configuration register:
●
When configuring the SSP in master mode, the MISO pin is automatically used as an
alternate function input and the output driver is automatically disabled (even if still
programmed as alternated function output in the Port Configuration registers).
In addition, when configured in master mode, the MOSI pin is always driven (never left
Hi-Z) even if the SSP is in idle mode (no transmission)
●
When configuring the SSP in slave mode, the MOSI, SCK and NSS pins are
automatically configured as alternate functions inputs and the output drivers are
automatically disabled (even if still programmed as alternated function outputs in the
Port Configuration registers).
In addition, when configured in slave mode, the MISO pin is left Hi-Z when the NSS pin
is high or when the SOD control bit (Slave Output Disable) is set.
Configuring I2C alternate functions
After reset release, the I2C is able to detect a Start condition on the SDA and SCL lines even
if the I2C is not configured. (Refer to the SDA/SCL line control section in the STR75x
reference manual)
Consequently, care must be taken when configuring SDA and SCL as alternate function
open-drain in order not to create parasitic falling edges.
The states to avoid are:
●
output 0
●
input pull-down
●
analog input (because the output of the Schmitt trigger goes to 0)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com