Hi Amit Mehta,
I already help you check it with our hardware engineer.
If you want to use the SDHC hardware module, and will check the according pin function, you need to follow the reference manual, if you don't use the WP pin, but you will check the WPSL bit in the code, please assign one pin and connect to low, in the code configure the related pin as the USDHC_WP function.
But if you don't check that pin in the code, you totally don't need to use the WP pin, it is determined by your software code.
About your question WPSL bit is 1 when you didn't connect it, I don't think that is stable enough, and the bit status is not guaranteed if you didn't connect the external pin to ground.
In conclusion, if you want to use the WPSL pin in the code, please follow the RT1060 reference manual suggestions, tie the not used WP pin to ground.
Wish it helps you!
If you still have questions about it, please kindly let me know.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------