How can PSoC 4 support lower voltage input threshold for mixed voltage systems?

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

cross mob
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

When a PSoC must be powered from a 3.3V supply, what options exist to communicate with SPI interfaces based on 1.8V such as Cypress' 1.8V SPI Flash?

The high input voltage threshold (Vih min) of 0.7 x Vdd is 2.3volts, much higher that a SPI interface biased to 1.8volts can achieve.

The 1.8V SPI Flash has an input max of VCC + 0.4 or 2.2volts.

In this specific case, I'm looking at a PSoC 4200.

My preference is to find a solution using the PSoC 4200 powered by 3.3V.

I'm open to other PSoC 4 devices.

I'm open to considering other PSoC devices.

Aside: PSoC 5 has Adjustable Input Level on SIO pins. Would the internal resources required to use SIO pins for SPI limit the speeds SPI can operate?

Could analog inputs on PSoC 4 be used as Adjustable Input Level SIO pins? If so, are there any examples?

Greg

0 Likes
1 Solution
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi Greg,

To support custom input thresholds, the devide needs SIO pins. Unfortunately, PSoC 4 family devices supports maximum of 2 SIOs. Since your application is SPI you need muinimum 4 SIO pins.

You can use PSoC 58Lp family devices which supports maximum of 8 SIO pins. In the PSoC Creator, you have to select 4mA, 25mA sink and drive level as VDDIO for output pins and threshold as VDDIO for input pins. You can find the attached project for reference.

Please note that you have to give 1.8 volts as power supply to VDDIO pins. Then only the input low and high thresholds of VDDIO pins will be 0.3VDDIO and 0.7*VDDIO respectively. Also, please note that VDDA should be greater than VDDD and VDDIO.

>>"Would the internal resources required to use SIO pins for SPI limit the speeds SPI can operate?"

--> No.

>>"Could analog inputs on PSoC 4 be used as Adjustable Input Level SIO pins? If so, are there any examples?"

--> No. Analog pins should only be used for analog applications.

Can you please let us know why you want to operate PSoC only. Is it possible for you to operate PSoC 4 at 1.8 volt VDDD so that you need not to go for PSoC 4?

Thanks

Ganesh

View solution in original post

0 Likes
1 Reply
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi Greg,

To support custom input thresholds, the devide needs SIO pins. Unfortunately, PSoC 4 family devices supports maximum of 2 SIOs. Since your application is SPI you need muinimum 4 SIO pins.

You can use PSoC 58Lp family devices which supports maximum of 8 SIO pins. In the PSoC Creator, you have to select 4mA, 25mA sink and drive level as VDDIO for output pins and threshold as VDDIO for input pins. You can find the attached project for reference.

Please note that you have to give 1.8 volts as power supply to VDDIO pins. Then only the input low and high thresholds of VDDIO pins will be 0.3VDDIO and 0.7*VDDIO respectively. Also, please note that VDDA should be greater than VDDD and VDDIO.

>>"Would the internal resources required to use SIO pins for SPI limit the speeds SPI can operate?"

--> No.

>>"Could analog inputs on PSoC 4 be used as Adjustable Input Level SIO pins? If so, are there any examples?"

--> No. Analog pins should only be used for analog applications.

Can you please let us know why you want to operate PSoC only. Is it possible for you to operate PSoC 4 at 1.8 volt VDDD so that you need not to go for PSoC 4?

Thanks

Ganesh

0 Likes