PSoC4100SP:Slew Rate Chage

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

cross mob
RyYo_1406951
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted

Please answer below.
The same question is written in English and Japanese.

・English
https://community.cypress.com/thread/46805
Continues the above thread.

When changing slew rate, I change "PORT _ SLOW [25]" bit of "GPIO _ PRTx _ PC" register.
Is there any other bit to change?

If you look at the https://community.cypress.com/thread/46805 sample, you will notice that the value for "GPIO _ PRT1 _ PC" has been changed from "0x00000D8E" to "0x0200018E".
I changed the value other than "PORT _ SLOW [25]" bit. Is there any reason?

・Japanese
https://community.cypress.com/thread/46805
上記スレッドの続きになります。

スルーレート変更する際、
"GPIO_PRTx_PC"レジスタの"PORT_SLOW[25]"bitを変更しますが、
その他で変更するbit有りますでしょうか?

https://community.cypress.com/thread/46805
のサンプルを確認すると、"GPIO_PRT1_PC"の値を
"0x00000D8E"から"0x0200018E"に変更しております。
"PORT_SLOW[25]"bit以外の値を変更しておりますが、
何か理由があるのでしょうか?

Regards

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello,

You only need to change one bit, that is, "PORT _ SLOW [25]" bit of "GPIO _ PRTx _ PC" register.

By the default the value of the register (GPIO _ PRT1 _ PC) is: 0x00000D8E

So it should have been changed to: 0x02000D8E.

By mistake I changed two bits instead of one.

Best Regards

Ekta

View solution in original post

2 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello,

You only need to change one bit, that is, "PORT _ SLOW [25]" bit of "GPIO _ PRTx _ PC" register.

By the default the value of the register (GPIO _ PRT1 _ PC) is: 0x00000D8E

So it should have been changed to: 0x02000D8E.

By mistake I changed two bits instead of one.

Best Regards

Ekta

Thank you for your answer.

0 Likes