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

USB superspeed peripherals Forum Discussions

chsh_1759911
Level 3
Level 3
10 sign-ins 10 replies posted 10 questions asked

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
Moderator
5 likes given 500 solutions authored 1000 replies posted

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
Moderator
5 likes given 500 solutions authored 1000 replies posted

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
0 Likes

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

0 Likes

 

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