- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dheeraj,
Thanks for clarificaiton.
Regards,
Ray