Replies: 5 comments 3 replies
-
The SPI of LGT8F328P has more features than ATmega328P SPI. One of these features is 4 byte input and 4 byte output buffer. (Translated databook v1.0.5 page 195: -Input/output both have 4 buffer register.) If your SD card library not handling this buffer, SPI will not work as expected. Maybe your SD card library could use the SPI library from this lgt8f package. See also: #24 |
Beta Was this translation helpful? Give feedback.
-
Hello together, i have the same problem as the TO : Thank you in advance |
Beta Was this translation helpful? Give feedback.
-
It seems someone can use SdFat library with LGT8F328. |
Beta Was this translation helpful? Give feedback.
-
Samthing to read, - thank you :-) One more Question: |
Beta Was this translation helpful? Give feedback.
-
For SdFat v1.x (I haven't played with the 2.x series), In SdFarConfig.h (Arduino/libraries/sdfat), set: As per the comments:
... works great then. Software SPI also works (see the rest of the comments and examples included w/SdFat) |
Beta Was this translation helpful? Give feedback.
-
I have a sketch that works fine on Arduino Nano with an OLED and an SD Reader card.
I can upload same sketch without any error on same hardware but with an LGT8F328P. OLED seems to work well but micro SD card is nor detected!
Someone has same problem? I use CS pin10. Any help please? Thanks
Beta Was this translation helpful? Give feedback.
All reactions