3 Replies Latest reply on Nov 3, 2016 2:44 AM by bharadhwajas_91

    s6e2c2 SDIF driver



      I'm trying to implement the SD card interface driver. I'm writing in c++ (including the drivers for hardware) and I'm not using the PDL driver library (writing everything myself). I sometimes look into the code to see how it should be implemented. For the SD card interface I'm looking at the example : there is a function called "Sdcard_Init", but in the driver library that function is not declared? 


      Another problem that I faced is the register mapping for SDIF. In the datasheet I downloaded from https://www.sdcard.org/downloads/pls/pdf/partA2_300.pdf there is only a mapping until "Host Control Version", the rest of the mapping is missing, but the registers are described in the peripheral manual. I looked up the mapping in the PDL header file, but I want to be sure that mapping is correct.




      kind regards