11 years, 7 months ago.

What is necessary to migrate from LPC1769 to LPC11U24 and LPC812?

It was my understand that the mbed SDK abstracts away the underlying specifics of the hardware and code should run without adaptations on other mbed hardware. However, I have trouble getting a SPI SRAM to work properly on other platforms and appreciate any hints on whether I am missing something.

I have a library for the 23LCV1024 SRAM from Microchip (http://mbed.org/users/chrdoerr/code/23LC1024/) that runs fine on an mbed LPC1769. The same program fails however on the LPC800-MAX when using P0_15, P0_14, P0_12 for SPI (https://mbed.org/handbook/mbed-NXP-LPC800-MAX), I was assuming this might be due to an incorrectly defined switch matrix. The same code however also fails on an Seeeduino Arch (LPC11U24) with P0_9, P0_8 and P1_29 as SPI pins (http://mbed.org/platforms/Seeeduino-Arch/).

I triple-checked all cabling, switched memory chips etc., the very same program (except for SPI pin definitions) does run on the LPC1769 mbed but not on the other mbeds - what am I missing?

Hi,

Please note that Seeeduino Arch has reversed SPI pins. The issue is not present on Seeeduino Arch Pro though. You can read more about that here: http://mbed.org/questions/1586/Shouldnt-SCK-and-MOSI-on-JP1-be-swaped/

Cheers,
Mihail

posted by -deleted- 18 Mar 2014

1 Answer

Chr Doerr
poster
11 years, 7 months ago.

Thanks for your note Mihail, I have tried it with reversed SPI pins but still no luck.

Did you also make 100% sure your power and ground connections are correct? Looking at that code it is very simple and straightforward, that shouldn't give a problem with a different device.

posted by Erik - 18 Mar 2014

I measured VCC and VSS on all setups with a multimeter, 3.3V and 0V are where they should be.

posted by Chr Doerr 18 Mar 2014