uSDHC shared resources

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uSDHC shared resources

688 Views
RooperK
Contributor I

I have encountered a bit of understanding gap in which parts of a controller are common and which are dedicated to each channel.

  1. Do reset registers on SYS_CTRL(RSTC, RSTD and RSTA) reset whole circuit or only channel, on which they are set(also, are RSTC and D necessary before RSTA)?
  2. Are DLL and clock seperate or each time driver operates with another card it has to switch clock?
Labels (1)
Tags (1)
0 Kudos
3 Replies

677 Views
igorpadykov
NXP Employee
NXP Employee

Hi Rooper

 

1. for uSDHC usage one can look at SDK example

https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/usdhc

2. all uSDHC instances are independent modules. So SYS_CTRL resets only one module.

 

Best regards
igor

0 Kudos

672 Views
RooperK
Contributor I

Thank you for answer. As I understand, since each instance is seperate module, buffer, DLL and clock are seperate too? Documentation specifies broadcast commands, which are send to all cards. Are they confined to module or send to all modules?

0 Kudos

661 Views
igorpadykov
NXP Employee
NXP Employee

yes they are separate.

 

Best regards
igor

0 Kudos