Author Topic: Where to start help with the basics  (Read 6421 times)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Where to start help with the basics
« Reply #75 on: September 25, 2015, 01:00:40 am »
You need to connect USART0 to your PC's COM port. If your PC doesn't have a COM port then a good quality USB to RS232 cable will do.

RS232 voltages are not compatible with microcontrollers, so you need a MAX232 or similar inbetween. You can get small modules from ebay and other places that go from USB to USART Tx/Rx TTL for just a few dollars. For example: http://www.ebay.com/itm/FT232RL-FTDI-Module-Mini-Port-USB-to-TTL-3-3V-5-5V-for-Arduino-Serials-Adapter-/221832721129

You need to get the microcontroller into ISP mode. This requires controlling the voltage on the ISP entry pin P2.10.

All of this is described in the LPC2478 user manual from NXP which you can download from www.nxp.com/microcontrollers

For an example circuit see the Keil MCB2300 board schematics http://www.keil.com/mcb2300/mcb2300-schematics.pdf

Andy
« Last Edit: September 25, 2015, 01:03:51 am by Andy Ayre »
Embedded Systems Academy, Inc.
support at esacademy dot com