element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
RoadTest Forum mbed road test - first impressions/what next?
  • Blogs
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 13 replies
  • Answers 2 answers
  • Subscribers 2568 subscribers
  • Views 1438 views
  • Users 0 members are here
  • RoadTest
  • mbed
Related

mbed road test - first impressions/what next?

romilly
romilly over 15 years ago

I was lucky enough to be selected for an mbed road test, and the mbed package arrived yesterday.

 

I'd read Riccardo Tinivella's excellent mbed review. Like him I found the product very easy to get going. The website suggests that you can get started in 60 seconds, and that's exactly how long it took me.

 

I use two PCs - a laptop running Windows 7 64-bit on an AMD processor, and a Linux workstation. Both systems drive the mbed happily. The combination of web-based development and filesystem-based programming is a stroke of genius. It completely bypasses the USB driver problems I've hit with other development products on my Windows machine.

 

The first project I had in mind for the mbed was a poor man's oscilloscope/logic analyser to help me debug the I2C boards I am working on at the moment. I needed something which would let me visualise the digital signals on the I2C bus, and if possible plot some analogue data as well.

 

It turned out to be really easy to implement. There's a lot of sample code on the mbed website. It's well organised, and it's easy to search. After a few minutes I was able to write formatted data to the mbed file system, including  digital and analogue inputs. I wrote the data out in csv format, and then displayed the results on my PC.

 

This is a (very simple) example of the sort of prototyping for which the mbed was created. I'm seriously impressed by mbed's ease of use and range of available libraries. I expect to use the mbed a lot for future projects.

 

For my main review, I'm proposing to port some code I wrote for the arduino using the I2c bus. It's a homebrew version of the microwriter keyboard, and drives an LCD display and an EPROM memory. From what I've seen so far, it looks as if the porting will be very straightforward.

 

Riccardo has already covered many of the questions people might have about the mbed. Is there anything you would like me to investigate for my review?

  • Sign in to reply
  • Cancel
Parents
  • romilly
    0 romilly over 15 years ago

    My latest experiments with the mbed have been focused on SPI.image

     

    The mbed has two SPI interfaces available. Each can be configured to handle normal or inverted polarity, and to cope with data on rising or falling clocks. The size of the SPI frame can vary; it defaults to 8 bits, but 16 bits are possible. I think smaller values may also be supported, but the documentation is contradictory.

     

    SPI is (normally) faster than I2C, and the LPC1768FBD100,551LPC1768FBD100,551 processor can handle SPI clock rates of up to 1/8th the CPU clock speed. Since the mbed is clocked at 96MHz, you can drive SPI peripherals at a blazing 12MHz!

     

    That's really useful for the chip I investigated. I hooked up a Microchip 23K256. It's a 32K byte static ram with an SPI interface. It can be clocked at up to 20Mh, so the mbed's 12MHz is comfortably within spec.

    This gives a useful, low-cost 32k byte memory extension. It's not as fast as directly driven external ram, but it only needs four pins to drive it.

     

    The API for the 23K256 is tricky, so I decided to write, test and publish a library on the mbed website. It's taken a couple of days to get there, but I'm pleased with the result, and the chip looks as if it's going to be really useful. I'm thinking of driving a battery of 16 of them using a 74HC154 to select individual chips. That would give me 512K of deep memory for logic analysis, and handle data bus speeds of up to 2MHz.

     

    I continue to be excited by the mbed's potential. Thanks again to Farnell/Element14 and to the mbed team for a chance to learn about this fantastic product.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • romilly
    0 romilly over 15 years ago

    My latest experiments with the mbed have been focused on SPI.image

     

    The mbed has two SPI interfaces available. Each can be configured to handle normal or inverted polarity, and to cope with data on rising or falling clocks. The size of the SPI frame can vary; it defaults to 8 bits, but 16 bits are possible. I think smaller values may also be supported, but the documentation is contradictory.

     

    SPI is (normally) faster than I2C, and the LPC1768FBD100,551LPC1768FBD100,551 processor can handle SPI clock rates of up to 1/8th the CPU clock speed. Since the mbed is clocked at 96MHz, you can drive SPI peripherals at a blazing 12MHz!

     

    That's really useful for the chip I investigated. I hooked up a Microchip 23K256. It's a 32K byte static ram with an SPI interface. It can be clocked at up to 20Mh, so the mbed's 12MHz is comfortably within spec.

    This gives a useful, low-cost 32k byte memory extension. It's not as fast as directly driven external ram, but it only needs four pins to drive it.

     

    The API for the 23K256 is tricky, so I decided to write, test and publish a library on the mbed website. It's taken a couple of days to get there, but I'm pleased with the result, and the chip looks as if it's going to be really useful. I'm thinking of driving a battery of 16 of them using a 74HC154 to select individual chips. That would give me 512K of deep memory for logic analysis, and handle data bus speeds of up to 2MHz.

     

    I continue to be excited by the mbed's potential. Thanks again to Farnell/Element14 and to the mbed team for a chance to learn about this fantastic product.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube