v2

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Yanagihara
Date:
Fri Jan 08 08:04:52 2021 +0000
Parent:
3:894278e5d918
Commit message:
v3

Changed in this revision

spi_master.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 894278e5d918 -r e86f33d05627 spi_master.cpp
--- a/spi_master.cpp	Fri Jan 08 08:01:03 2021 +0000
+++ b/spi_master.cpp	Fri Jan 08 08:04:52 2021 +0000
@@ -37,7 +37,7 @@
         pc.printf("<--rdata: %x\r\n",rdata);
         }
         
-        // receive 2byte data
+        // receive 2byte data       // (現状:2byteの場合mode=0では不具合が発生→プルアップしていないことが原因の可能性)
         if(cmd == 2){        
         wait(3);
         cs=0;