Has anyone had success with MicroPython SD card access on the CoreInk? I just installed the firmware that seems to be about 1 week old, but all I get is different error messages when trying to mount the SD card. With slot 1 or 2, I get:
E (8624) sdmmc_common: sdmmc_init_OCR: send_op_cond(1) returned 0x107
With slot 2, I get:
E (8049) spi_master: spi_bus_add_device(373): host not initialized
E (8052) sdmmc_io: sdmmc_io_reset: unexpected return: 0x102
With slot 3, I only get OSError(16,), without additional info.
If anyone has gotten the SD card to work on the CoreInk, which slot and pins do you use? Is there any other initialization necessary?
--
Correction: it seems the only reason I get different error message is because I commented out sd.info(). With sd.info(), I still get the original error. So still no SD card support at all?
Hi @teastain,
Cool, thanks. I went ahead and ordered at risk JST XH 2-pin from Adafruit, 2.5mm seems spot on for the connectors of GoPlus2. http://adafru.it/4872
Hi guys
it looks like the Micro-RTSP library needs to be added to the project.
Note: with that library I can compile the RTSP example; but I have not tested if the result actually runs properly.
Thanks
Felix
Thanks,
Indeed,
This works :
display.drawJpg(JPG_buffer_processed, Append_this_Struct.JPG_size, 0, 0, Append_this_Struct.JPG_width,Append_this_Struct.JPG_height,0,0,JPEG_DIV_2);
Hello @jeetS
you are welcome. I am glad to hear you got it working to your liking. And thank you for letting me/us know and for the detailed step by step explanation.
Thanks
Felix
Hello @tomtom22
G1 and G2 are available on Port A. You are correct, G38 and G39 are not available as general IO on the M5AtomS3. They are used for I2C (and yes. the IMU is already connected to them) but additional I2C devices can be added here. M5AtomS3 documentation can be found here.
Thanks
Felix
Well if someone like me need a working example, the support provided me with this file and it works:
https://github.com/m5stack/M5Core2/blob/master/examples/Module/SERVO2_PCA9685/SERVO2_PCA9685.ino
Actually I mis-identified my module, it's ATOM LITE not ATOM S3 LITE on closer inspection (the names of these things can be confusing). I got the pin numbers scl 32 and sda 26 from the legend on the device itself, and I think they must be correct since it is able to reply with the [35] from the scan() function.
I tried looking at the Arduino code from GitHub to see if it does some kind of initialization of the DLIGHT before reading, but I can't figure it out.
Anyway thanks for replying Terry.
@felmue Thank you. Unfortunately currently I am using the other SIM7060 module. Well, I could power it down with an optocoupler or something like that. Maybe a good idea in future modules to incorporate the deep sleep logic.