Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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?
1 Answer
11 years, 7 months ago.
Thanks for your note Mihail, I have tried it with reversed SPI pins but still no luck.
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,
posted by -deleted- 18 Mar 2014Mihail