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.
5 years, 3 months ago.
I have been using offline toolchain with GCC_ARM, it is good that the online version. Thanks for the work.
The original Teensy 3.1 pinout diagram has a lot of ambiguous information (multiple CS, etc). There is direct corresponding library in mbed for some of the pins such as TOUCH.
- Suggest follow pinout for LPC1768. I find that pinout conversion used by Arduino is confusing: We do not need to have extra pin names just for different functions.
- Change PWM to PWM0.
- Remove the 'Port name and Bit', e.g., PTB16.
- D0 should be RX1, etc.
Startup code in mbed library did not enable USB serial peripheral. Similar code using Arduino is found in https://github.com/PaulStoffregen/cores/blob/master/teensy3/usb_dev.c
Question relating to:
5 years, 3 months ago.
We hope you like it!
Not quite Mbed style drag and drop programming, however as the FRDM-K20D50M board has ceased production, this does fill the gap for the K20 MCU. Double the Flash/RAM and faster!
The USB serial mode does work with the standard Mbed code. This is a test that includes a check for adding the RTC crystal:
After much discussion it was decided, in order to facilitate code transportation between Freescale platforms we would keep the same Pin names and definitions as much as possible. Using the Arduino pin conventions also makes it easier to transport code form other Mbed platform vendors that have the Arduino shield pin names.
We wanted to keep as much of the original graphic design to enable Arduino users to recognise the pin layout as this was not intended to be used on Mbed. So its a balance between the two.
Moving off the development board to a prototype board requires the standard manufacture pin manes to be there, PTC5, etc. The pin names are quite extensive and can be viewed in the MBED-SRC here:
Other pin name definitions could be added, whilst we would not want to change the existing defines, a simple 'pull request' via GitHub would be looked at by the Mbed team for a decision.
The CAN function is not yet supported and would gladly accept help with this.