STM32 GPIO Speed
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
Why do we need to set speed for GPIO output pins in STM32?
The STM32F4 Reference Manual on page 278 says that:
The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle.
Then why do we need to set speed to the pins while it is specified?.
stm32
New contributor
add a comment |Â
up vote
2
down vote
favorite
Why do we need to set speed for GPIO output pins in STM32?
The STM32F4 Reference Manual on page 278 says that:
The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle.
Then why do we need to set speed to the pins while it is specified?.
stm32
New contributor
Welcome to EE.SE.
â Sparky256
2 hours ago
Hello Amin! Please see this related question.
â bitsmack
9 mins ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Why do we need to set speed for GPIO output pins in STM32?
The STM32F4 Reference Manual on page 278 says that:
The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle.
Then why do we need to set speed to the pins while it is specified?.
stm32
New contributor
Why do we need to set speed for GPIO output pins in STM32?
The STM32F4 Reference Manual on page 278 says that:
The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle.
Then why do we need to set speed to the pins while it is specified?.
stm32
stm32
New contributor
New contributor
edited 1 hour ago
New contributor
asked 3 hours ago
Amin
155
155
New contributor
New contributor
Welcome to EE.SE.
â Sparky256
2 hours ago
Hello Amin! Please see this related question.
â bitsmack
9 mins ago
add a comment |Â
Welcome to EE.SE.
â Sparky256
2 hours ago
Hello Amin! Please see this related question.
â bitsmack
9 mins ago
Welcome to EE.SE.
â Sparky256
2 hours ago
Welcome to EE.SE.
â Sparky256
2 hours ago
Hello Amin! Please see this related question.
â bitsmack
9 mins ago
Hello Amin! Please see this related question.
â bitsmack
9 mins ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
accepted
STM32F4-Refrence Manual in page 278 says that "The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle"
This text is referring to input pins, not outputs.
The speed setting only affects pins used as outputs. It controls the slew rate (drive strength) on outputs. Using an excessively high speed may cause ringing and EMI on outputs, so it is important to use the minimum speed required for your application.
Inputs as well. It is guaranteed that the change of the input pin by the external world will propagate as quiche as the bus speed.
â P__J__
17 mins ago
add a comment |Â
up vote
1
down vote
Most any very fast CPU or MPU have bus or GPIO pin speeds that require 10 ohm to 27 ohm resistors in series at the endpoint of the trace to prevent ringing and adjacent trace cross talk. If your GPIO data or IO control is erratic then maybe you have to slow down AHB1 rate or insert those resistors I mentioned.
If pin is an input then resistor is at the pin. If the pin is an output then resistors is at the device pin being driven. Dampening or impedance matching resistors might allow you to keep current AHB1 speed. If you still have data corruption then you MUST slow down the AHB1 rate.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
STM32F4-Refrence Manual in page 278 says that "The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle"
This text is referring to input pins, not outputs.
The speed setting only affects pins used as outputs. It controls the slew rate (drive strength) on outputs. Using an excessively high speed may cause ringing and EMI on outputs, so it is important to use the minimum speed required for your application.
Inputs as well. It is guaranteed that the change of the input pin by the external world will propagate as quiche as the bus speed.
â P__J__
17 mins ago
add a comment |Â
up vote
3
down vote
accepted
STM32F4-Refrence Manual in page 278 says that "The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle"
This text is referring to input pins, not outputs.
The speed setting only affects pins used as outputs. It controls the slew rate (drive strength) on outputs. Using an excessively high speed may cause ringing and EMI on outputs, so it is important to use the minimum speed required for your application.
Inputs as well. It is guaranteed that the change of the input pin by the external world will propagate as quiche as the bus speed.
â P__J__
17 mins ago
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
STM32F4-Refrence Manual in page 278 says that "The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle"
This text is referring to input pins, not outputs.
The speed setting only affects pins used as outputs. It controls the slew rate (drive strength) on outputs. Using an excessively high speed may cause ringing and EMI on outputs, so it is important to use the minimum speed required for your application.
STM32F4-Refrence Manual in page 278 says that "The data present on the I/O pin are sampled into the input data register every AHB1 clock cycle"
This text is referring to input pins, not outputs.
The speed setting only affects pins used as outputs. It controls the slew rate (drive strength) on outputs. Using an excessively high speed may cause ringing and EMI on outputs, so it is important to use the minimum speed required for your application.
answered 2 hours ago
duskwuff
15.8k32546
15.8k32546
Inputs as well. It is guaranteed that the change of the input pin by the external world will propagate as quiche as the bus speed.
â P__J__
17 mins ago
add a comment |Â
Inputs as well. It is guaranteed that the change of the input pin by the external world will propagate as quiche as the bus speed.
â P__J__
17 mins ago
Inputs as well. It is guaranteed that the change of the input pin by the external world will propagate as quiche as the bus speed.
â P__J__
17 mins ago
Inputs as well. It is guaranteed that the change of the input pin by the external world will propagate as quiche as the bus speed.
â P__J__
17 mins ago
add a comment |Â
up vote
1
down vote
Most any very fast CPU or MPU have bus or GPIO pin speeds that require 10 ohm to 27 ohm resistors in series at the endpoint of the trace to prevent ringing and adjacent trace cross talk. If your GPIO data or IO control is erratic then maybe you have to slow down AHB1 rate or insert those resistors I mentioned.
If pin is an input then resistor is at the pin. If the pin is an output then resistors is at the device pin being driven. Dampening or impedance matching resistors might allow you to keep current AHB1 speed. If you still have data corruption then you MUST slow down the AHB1 rate.
add a comment |Â
up vote
1
down vote
Most any very fast CPU or MPU have bus or GPIO pin speeds that require 10 ohm to 27 ohm resistors in series at the endpoint of the trace to prevent ringing and adjacent trace cross talk. If your GPIO data or IO control is erratic then maybe you have to slow down AHB1 rate or insert those resistors I mentioned.
If pin is an input then resistor is at the pin. If the pin is an output then resistors is at the device pin being driven. Dampening or impedance matching resistors might allow you to keep current AHB1 speed. If you still have data corruption then you MUST slow down the AHB1 rate.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Most any very fast CPU or MPU have bus or GPIO pin speeds that require 10 ohm to 27 ohm resistors in series at the endpoint of the trace to prevent ringing and adjacent trace cross talk. If your GPIO data or IO control is erratic then maybe you have to slow down AHB1 rate or insert those resistors I mentioned.
If pin is an input then resistor is at the pin. If the pin is an output then resistors is at the device pin being driven. Dampening or impedance matching resistors might allow you to keep current AHB1 speed. If you still have data corruption then you MUST slow down the AHB1 rate.
Most any very fast CPU or MPU have bus or GPIO pin speeds that require 10 ohm to 27 ohm resistors in series at the endpoint of the trace to prevent ringing and adjacent trace cross talk. If your GPIO data or IO control is erratic then maybe you have to slow down AHB1 rate or insert those resistors I mentioned.
If pin is an input then resistor is at the pin. If the pin is an output then resistors is at the device pin being driven. Dampening or impedance matching resistors might allow you to keep current AHB1 speed. If you still have data corruption then you MUST slow down the AHB1 rate.
edited 26 mins ago
answered 2 hours ago
Sparky256
10.3k21534
10.3k21534
add a comment |Â
add a comment |Â
Amin is a new contributor. Be nice, and check out our Code of Conduct.
Amin is a new contributor. Be nice, and check out our Code of Conduct.
Amin is a new contributor. Be nice, and check out our Code of Conduct.
Amin is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f401109%2fstm32-gpio-speed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Welcome to EE.SE.
â Sparky256
2 hours ago
Hello Amin! Please see this related question.
â bitsmack
9 mins ago