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

PSoC™ 6 Forum Discussions

DaEr_349131
Level 5
5 comments on KBA First comment on KBA 100 replies posted
Level 5

I have a memory seeing an UDB based SDIO controller for some old psoc6 + wifi ev-kit. 

basically I'm after a sd-card implementation in UDB

7 Replies
Len_CONSULTRON
Level 9
1000 replies posted 750 replies posted 500 likes received
Level 9

DaEr,

Which ev-kit are you using?

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
Len_CONSULTRON
Level 9
1000 replies posted 750 replies posted 500 likes received
Level 9

DaEr,

Normally it is my understanding that most SDIO controllers are basically a SPI master.  

The PSoC6 has fixed function SPI HW.

Note:  Not all PSoC6s have UDBs.  (Regrettable IMHO).

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
DaEr_349131
Level 5
5 comments on KBA First comment on KBA 100 replies posted
Level 5

no ev-kit, custom board.
SPI is just single pin on psoc6 and SDIO need 4 data pins = UDB required.
I use the 63 with udb's. 

team Cypress, any input?

 

 

0 Likes
Len_CONSULTRON
Level 9
1000 replies posted 750 replies posted 500 likes received
Level 9

DaEr,

The SPI implementations using Creator or ModusToolBox have access to up to 7 pins depending on your configuration settings:

  • SPI_CLK
  • MOSI*
  • MISO*
  • SS0
  • SS1
  • SS2
  • SS3

* The MOSI/MISO can be configured as a half-duplex bidirectional SDA pin.

On the PSoC6, I'm not aware of how a UDB-implementation of SPI master will be better than the fixed-function version already available.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
DaEr_349131
Level 5
5 comments on KBA First comment on KBA 100 replies posted
Level 5

still want a UDB to allow higher speed with 4 data and cmd

0 Likes
Len_CONSULTRON
Level 9
1000 replies posted 750 replies posted 500 likes received
Level 9

DaEr,

Actually one of the reasons many of Cypress/Infineon new parts have gone from UDB-type digital configuration to fixed function type is that although UDBs are more flexible, the architecture can lead to slower functional performance.  

Creating a well designed fixed function block (such as the PSoC6) can achieve higher data rates.

Using Creator look up the SMIF component.  It is a component that can be configured as a 1,2,4,6 or 8 data width SPI.  I believe this is what you are looking for.

I have checked it on ModusToolbox but I believe this feature is also available using the "QSPI Configurator"

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
DaEr_349131
Level 5
5 comments on KBA First comment on KBA 100 replies posted
Level 5

thanks Len for all input,

 

My question to Cypress/Infineon is still: is there an UDB based SDIO controller made?

 

pretty sure there is as the first wifi-ev-kit with psoc had a broadcom wifi IC with SDIO and no SCB/hardware SDIO on the psoc 4 or 6 itself

0 Likes