A document detailing the S6J3400 register can be found there?

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

cross mob
zhya_2745986
Level 1
Level 1
5 questions asked First reply posted First question asked

For the register mentioned in the hardware manual of S6J3400, I don't know how to configure the data bit of the register.

0 Likes
1 Solution

Do you mean the HOLDIO_PDx and PSS port control register?

If yes, you can configure register SYSC0_SPECFGR. Here is an example:

    // Select PSS IO hold and high-z

    SYSC0_PROTKEYR =      0x5cacce55 ; // Unlock

    SYSC0_SPECFGR =       0x01000200; // HOLDIO_PD2=1, PSSPADCTRL=0, IO3RSTC=0, IO35RSTC=0, EXVRSTCNT=1

For S6J3400, please kindly refer to the register SYSC0_SPECFGR description marked with LP_type in S6J3400 Hardware Manual Platform part (002-07884 Rev. *D).

http://www.cypress.com/file/219516/download

Best regards,

Amy Wang

View solution in original post

0 Likes
3 Replies
HongyanW_86
Moderator
Moderator
Moderator
100 solutions authored 100 replies posted 50 solutions authored

Could you please clarify which register you need to configure? Are you using Cypress SampleSW?

0 Likes
zhya_2745986
Level 1
Level 1
5 questions asked First reply posted First question asked

For example, if MCU enters sleep mode, how does the register controlling IO be configured?

0 Likes

Do you mean the HOLDIO_PDx and PSS port control register?

If yes, you can configure register SYSC0_SPECFGR. Here is an example:

    // Select PSS IO hold and high-z

    SYSC0_PROTKEYR =      0x5cacce55 ; // Unlock

    SYSC0_SPECFGR =       0x01000200; // HOLDIO_PD2=1, PSSPADCTRL=0, IO3RSTC=0, IO35RSTC=0, EXVRSTCNT=1

For S6J3400, please kindly refer to the register SYSC0_SPECFGR description marked with LP_type in S6J3400 Hardware Manual Platform part (002-07884 Rev. *D).

http://www.cypress.com/file/219516/download

Best regards,

Amy Wang

0 Likes