cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6

JiaweiL_16
Employee

Hi ,

I found that the CY8CPROTO-062-4343W DVK have the TF card reader. The HW selection is using P13_5 (R61 default) as Card_Detect, but in the MTB1.1 Device Configure and Pinout of Card_Detect is P12_1 (R62 NC).

Do I need to change the resistor to R62 by hand work?

Regards,

Ray

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator

Yes your right. ModusToolbox doesn't allow selection of P13_5 even though its the one thats loaded. Not sure why, but needs to be fixed. Please populate the resistor R62 and unpopulate R61 and use P12_1 for now.

Also, note that you need not assign any pin for card detect in the configurator. In the firmware you can use any GPIO custom pin for Card Detect. Add the SD Host driver Cy_SD_Host_IsCardConnected() function with the __WEAK type to your code. This function could read the value from any GPIO pin and return true when the card is connected.

Regards,

Dheeraj

View solution in original post

2 Replies
DheerajK_81
Moderator
Moderator

Yes your right. ModusToolbox doesn't allow selection of P13_5 even though its the one thats loaded. Not sure why, but needs to be fixed. Please populate the resistor R62 and unpopulate R61 and use P12_1 for now.

Also, note that you need not assign any pin for card detect in the configurator. In the firmware you can use any GPIO custom pin for Card Detect. Add the SD Host driver Cy_SD_Host_IsCardConnected() function with the __WEAK type to your code. This function could read the value from any GPIO pin and return true when the card is connected.

Regards,

Dheeraj

View solution in original post

JiaweiL_16
Employee

Dheeraj,

Thanks for clarificaiton.

Regards,

Ray

0 Likes
Top labels