cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

chsh_1759911
New Contributor II

my app need to switch IOMatrix between SPI mode and 32bit with I2C

programe start with 16bit/SPI mode then switch into 32bit/I2C mode this step works fine

but when i change back the SPI didnt work

i use

void io_cfg_deinit(void)
{
CyU3PGpioDeInit();
CyU3PSpiDeInit();
CyU3PI2cDeInit();
CyU3PPibDeInit();
CyU3PGpifDisable (CyTrue);
}

before reconfig, is there miss somthing? or time request i missed

 

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator

Hello,

Please refer to similar thread  Solved: Any dependencies by switching/reloading GPIFII? - Cypress Developer Community   and let me know if this helps.

Regards,
Rashi

View solution in original post

0 Likes
3 Replies
Rashi_Vatsa
Moderator
Moderator

Hello,

Please refer to similar thread  Solved: Any dependencies by switching/reloading GPIFII? - Cypress Developer Community   and let me know if this helps.

Regards,
Rashi

View solution in original post

0 Likes
chsh_1759911
New Contributor II

Hi, i read this thread before but i still dont know why SPi module not work but GPIO works

0 Likes
Rashi_Vatsa
Moderator
Moderator

 

Hello,

Can you please share the firmware for us to check?

Please let us know if all the APIs returns success when re initialized.

Regards,
Rashi
0 Likes