EZ-USB FX3 : Issue with BulkLpAutoCpp example when enabling SPI in IO Matrix configuration

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

cross mob
Christophe
Level 3
Level 3
25 sign-ins 10 replies posted 5 questions asked

Dear community,

I encounter an issue with IO matrix initialization in the BulkLpAutoCpp example.

When I set the field useSpi to CyTrue, it never goes to CyFxApplicationDefine and the threads aren't launched.

It's working with other example but not this one.

Christophe_0-1654244705446.png

I'd like to use both I2C & SPI. I'd like to use the Uart for debugging purpose.

Thank you for your help.

0 Likes
1 Solution
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

Please change the lppmode in the IO configuration to "CY_U3P_IO_MATRIX_LPP_DEFAULT"This mode enables all LPP.

"CY_U3P_IO_MATRIX_LPP_UART_ONLY", this enables GPIF-16 bit and UART only.

Best Regards,
AliAsgar

View solution in original post

2 Replies
Christophe
Level 3
Level 3
25 sign-ins 10 replies posted 5 questions asked

Here is the top part of the main function

Christophe_0-1654244934605.png

 

0 Likes
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

Please change the lppmode in the IO configuration to "CY_U3P_IO_MATRIX_LPP_DEFAULT"This mode enables all LPP.

"CY_U3P_IO_MATRIX_LPP_UART_ONLY", this enables GPIF-16 bit and UART only.

Best Regards,
AliAsgar