Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Legacy microcontrollers Forum Discussions

MaMi_1205306
Level 7
Level 7
500 replies posted 50 solutions authored 25 likes received

Hi,

We are using S6E1A of FM0+ series.
For IO with general-purpose IO (GPIO) and timer input (TIOB) functions,
We are considering using these modes while switching them dynamically.

So please tell us about the following.
When changing GPIO to TIOB, Do you know how long it can be used as a TIOB?
When changing TIOB to GPIO, Do you know how long it can be used as a GPIO?
Are these switching times specs?

Regards,

0 Likes
1 Solution

We are sorry for late response...

Could you please let me ask you gain to clarify how you GPIO? (Input or Output)

If you use GPIO as Input, you don't need to switch from TIOB to GPIO. You can read GPIO, even though TIOB is configured.

https://www.cypress.com/file/223031/download

Refer to the Figure 2-1 Block Diagram of the I/O Port in CHAPTER 10-1: I/O Port, 2.1 Configuration of the I/O Port.

pastedImage_0.png

While, if you use GPIO as Output, there shall not timing constrain. External device should be configured for I/O configuration, and it take some time.

Then, you can change from TIOB to GPIO.

At last, there is no spec for the switching time between TIOB and GPIO, due to SW configuration exists.

View solution in original post

0 Likes
4 Replies
TakashiM_61
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

Please clarify what you would like to know.

Do you want to know time consuming to switch functionality between GPIO and TIOB?

regards,

0 Likes

Takashi-san,

That's right.

We would like to know time consuming to switch functionality between GPIO and TIOB.

Is there any other way to actually measure using other GPIOs?

Regards,

0 Likes

We are sorry for late response...

Could you please let me ask you gain to clarify how you GPIO? (Input or Output)

If you use GPIO as Input, you don't need to switch from TIOB to GPIO. You can read GPIO, even though TIOB is configured.

https://www.cypress.com/file/223031/download

Refer to the Figure 2-1 Block Diagram of the I/O Port in CHAPTER 10-1: I/O Port, 2.1 Configuration of the I/O Port.

pastedImage_0.png

While, if you use GPIO as Output, there shall not timing constrain. External device should be configured for I/O configuration, and it take some time.

Then, you can change from TIOB to GPIO.

At last, there is no spec for the switching time between TIOB and GPIO, due to SW configuration exists.

0 Likes

Hi,

We use GPIO as input.

We understood that the port can be read without switching the GPIO input to TIOB.

Thank you for your support.

Regards,

0 Likes