6 thoughts on “Telit SPI SD card driver – sdio.py”
Hi guys,
I have been trying to interface my Telit GE863-PY module (in fact GT863-PY terminal) with a 2 GB SD card. However I cannot even initialize the SD card. I changed the GPIO numbers in the sdio.py module to (GPIO4,5,6,7). Would that be a problem? I am inspecting the logic analyzer results and all the initialization waveforms are generated and sent to the SD card. However the clock is not uniform, would it be a problem for the SD card? Because I am sending the same initialization sequence with a microcontroller and the card goes to the idle state immediately. As far as I see, the only difference is the uniformity of the clock pulses. Did anybody try the sdio driver with GE863?
Kind Regards,
PS: The firmware of the module is 07.03.801
Erol
Erol, please try the following changes in sd_raw_drv.py (thanks to Simon):
1. Line 151 (change line)
(-) ret = sd_defs.sdcard.readbyte() (+) ret = ord(sd_defs.sdcard.readwrite(‘xFF’,1))
2. Line 171 (delete line)
(-) sd_raw_send_byte(0xff)
I too would like touse the python sd libraryto store dataon sd-card from a GT863-PY. Is itpossible todirectly connect anSD cardto GPIO connectorof theGT863–PY, or is it necessary to interface it withsome"levelshifter" or another converter?
Here is an usage file containing hardware info.
Thanks, that’s what I need! Two questions:
1) the file says that "the SDIO test example is built and tested on GM862-QUAD-PY using GPIO 9, 12, 11, 8, data in (11) and data out (12) pins having internal pull-up resistor.";
from "GE_GC864-QUAD_V2_and_GE864-GPS_Hardware_User_Guide_r9" on page 16 seems that the pins of gpio do not have internal pull up resistors. Shall I add two pull up resistors at pins that will be dedicated to the "data in" and "data out"?
2) I have "sd python library 16/12/09 First version": is available a newer version?
Thank you!
p.s. i’m talking of ge864 quad v2 enclosed on gt863-py case!
Yes pins that don’t have internal pullups these must be added externally.
There is no newer version but the above patch might be needed.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi guys,
I have been trying to interface my Telit GE863-PY module (in fact GT863-PY terminal) with a 2 GB SD card. However I cannot even initialize the SD card. I changed the GPIO numbers in the sdio.py module to (GPIO4,5,6,7). Would that be a problem? I am inspecting the logic analyzer results and all the initialization waveforms are generated and sent to the SD card. However the clock is not uniform, would it be a problem for the SD card? Because I am sending the same initialization sequence with a microcontroller and the card goes to the idle state immediately. As far as I see, the only difference is the uniformity of the clock pulses. Did anybody try the sdio driver with GE863?
Kind Regards,
PS: The firmware of the module is 07.03.801
Erol
Erol, please try the following changes in sd_raw_drv.py (thanks to Simon):
1. Line 151 (change line)
2. Line 171 (delete line)
I too would like to use the python sd library to store data on sd-card from a GT863-PY. Is it possible to directly connect an SD card to GPIO connector of the GT863–PY, or is it necessary to interface it with some "level shifter" or another converter?
Here is an usage file containing hardware info.
Thanks, that’s what I need! Two questions:
1) the file says that "the SDIO test example is built and tested on GM862-QUAD-PY using GPIO 9, 12, 11, 8, data in (11) and data out (12) pins having internal pull-up resistor.";
from "GE_GC864-QUAD_V2_and_GE864-GPS_Hardware_User_Guide_r9" on page 16 seems that the pins of gpio do not have internal pull up resistors. Shall I add two pull up resistors at pins that will be dedicated to the "data in" and "data out"?
2) I have "sd python library 16/12/09 First version": is available a newer version?
Thank you!
p.s. i’m talking of ge864 quad v2 enclosed on gt863-py case!
Yes pins that don’t have internal pullups these must be added externally.
There is no newer version but the above patch might be needed.