Fujitsu MB85RSxx serial FRAM test program
Dependencies: mbed MB85RSxx_SPI
Connectivity
MB82RSxx pin | mbed LPC1114FN28 pin | mbed LPC1768 pin | Arudino form factor |
---|---|---|---|
1 (_CS) | 9 (dp9) | 8 (p8) | D10 |
2 (SO) | 1 (dp1) | 6 (p6) | D12 |
3 (_WP) | 21 (VDD) | 40 (VOUT) | 3V3 |
4 (VSS) | 22 (GND) | 1 (GND) | GND |
5 (SI) | 2 (dp2) | 5 (p5) | D11 |
6 (SCK) | 6 (dp6) | 7 (p7) | D13 |
7 (_HOLD) | 21 (VDD) | 40 (VOUT) | 3V3 |
8 (VDD) | 21 (VDD) | 40 (VOUT) | 3V3 |
Revision 3:3e6b31527e0e, committed 2017-05-09
- Comitter:
- MACRUM
- Date:
- Tue May 09 02:51:22 2017 +0000
- Parent:
- 2:89313b729aac
- Commit message:
- Fix instance name from _spi to fram
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 89313b729aac -r 3e6b31527e0e main.cpp --- a/main.cpp Mon Apr 24 14:05:05 2017 +0000 +++ b/main.cpp Tue May 09 02:51:22 2017 +0000 @@ -5,9 +5,9 @@ Serial pc(USBTX, USBRX); #if defined(TARGET_LPC1768) -MB85RSxx_SPI _spi(p5, p6, p7, p8); // mosi, miso, sclk, cs +MB85RSxx_SPI fram(p5, p6, p7, p8); // mosi, miso, sclk, cs #elif defined(TARGET_LPC1114) -MB85RSxx_SPI _spi(dp2, dp1, dp6, dp9); // mosi, miso, sclk, cs +MB85RSxx_SPI fram(dp2, dp1, dp6, dp9); // mosi, miso, sclk, cs #else // Arduino R3 Shield form factor MB85RSxx_SPI fram(D11, D12, D13, D10); // mosi, miso, sclk, cs #endif