SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 85 matches

 Go to advanced search

Re: lpc17xx ext interrupt vs gpio interrupt

 by mjbcswitzerland ¦  Wed Jan 30, 2013 6:57 am ¦  Forum: Everything ARM and LPC ¦  Topic: lpc17xx ext interrupt vs gpio interrupt ¦  Replies: 4 ¦  Views: 7692

Hi

GPIO interrupts share the EINT IRQ - source ID = 21

Regards

Mark

Re: lpc2378 stk SPI

 by mjbcswitzerland ¦  Sat Jan 21, 2012 8:14 am ¦  Forum: Everything ARM and LPC ¦  Topic: lpc2378 stk SPI ¦  Replies: 3 ¦  Views: 1767

Hi There are many examples for doing this - search the NXP libraries and check for demo code for the board that you have. The main problem with the code that you have shown is that it doesn't wait for data to be sent. It will be overwriting data in the tx buffer before it has had the chance to be tr...

USB-Mass storage device boot loader

 by mjbcswitzerland ¦  Fri Jun 03, 2011 8:42 am ¦  Forum: Everything ARM and LPC ¦  Topic: USB-Mass storage device boot loader ¦  Replies: 0 ¦  Views: 961

Hi All For anyone interested in USB MSD boot loaders for Freescale Kinetis Cortex M4 or ATMEL SAM7, the following videos show this in operation: http://www.youtube.com/watch?v=H4TYM9jY2-g http://www.youtube.com/watch?v=e4oFBn_M5wo General details at http://www.utasker.com/forum/index.php?topic=1434....

Re: IAR compiler -> no hex file???

 by mjbcswitzerland ¦  Sat Nov 13, 2010 11:03 am ¦  Forum: Everything ARM and LPC ¦  Topic: IAR compiler -> no hex file??? ¦  Replies: 15 ¦  Views: 16080

Hi The linker setting in IAR has an option to set the output format (usually 2 different outputs can be generated) There may have been an intermediate version after they moved to IAR5.0 where the option was missing (although I may be confusing with Keil uVision3 (?)). In this case there was a differ...

Re: Olimex LPC2378 STK LCD example code

 by mjbcswitzerland ¦  Fri Sep 24, 2010 12:04 pm ¦  Forum: Everything ARM and LPC ¦  Topic: Olimex LPC2378 STK LCD example code ¦  Replies: 1 ¦  Views: 960

Re: configuring SPI- AT91SAM7

 by mjbcswitzerland ¦  Thu Sep 09, 2010 2:25 am ¦  Forum: Everything ARM and LPC ¦  Topic: configuring SPI- AT91SAM7 ¦  Replies: 12 ¦  Views: 1963

Hi If the binary is running you should see LCD back-light blinking. Remove the USB cable and connect again. When the USB cable is connected to the operating board with inserted SD card, the SD card will appear as a disk drive to the PC. You can also connect to the board via TELNET at 192.168.0.3 or ...

Re: configuring SPI- AT91SAM7

 by mjbcswitzerland ¦  Wed Sep 08, 2010 4:08 am ¦  Forum: Everything ARM and LPC ¦  Topic: configuring SPI- AT91SAM7 ¦  Replies: 12 ¦  Views: 1963

Hi There is a binary file for the Olimex board at http://www.utasker.com/SW_Demos.html . You can download this to your board to verify that the SD card is working correctly. When sending clocks to the SD card with the CS line held high you may need to control the CS line in SW (as a GPIO). You can a...

Re: configuring SPI- AT91SAM7

 by mjbcswitzerland ¦  Fri Sep 03, 2010 2:33 am ¦  Forum: Everything ARM and LPC ¦  Topic: configuring SPI- AT91SAM7 ¦  Replies: 12 ¦  Views: 1963

Hi On the following page there is reference binary to load to either the Olimex or ATMEL SAM7X evaluation boards: http://www.utasker.com/SW_Demos.html It includes SD card support for these boards whereby you have a DOS-like interface via UART or TELNET (files can be copied to the card via FTP and we...

Re: configuring SPI- AT91SAM7

 by mjbcswitzerland ¦  Thu Sep 02, 2010 3:31 am ¦  Forum: Everything ARM and LPC ¦  Topic: configuring SPI- AT91SAM7 ¦  Replies: 12 ¦  Views: 1963

Hi

If you have a short circuit of the CLK signal on the board it will work in internal loop mode but won't work externally.
It is important to make the measurement since assumptions alone won't ensure identifying difficulties.

Regards

Mark

www.uTasker.com

Re: configuring SPI- AT91SAM7

 by mjbcswitzerland ¦  Wed Sep 01, 2010 3:07 am ¦  Forum: Everything ARM and LPC ¦  Topic: configuring SPI- AT91SAM7 ¦  Replies: 12 ¦  Views: 1963

Hi

Maybe the chip is damaged?
Can you measure a clock signal when bytes are transmitted? or the data on MOSI?

Regards

Mark

Re: configuring SPI- AT91SAM7

 by mjbcswitzerland ¦  Sat Aug 28, 2010 11:53 am ¦  Forum: Everything ARM and LPC ¦  Topic: configuring SPI- AT91SAM7 ¦  Replies: 12 ¦  Views: 1963

Hi

Ensure that you have correctly configured the port pins for their SPI peripheral function. Note also that the port used by the peripheral pins must also be powered up (in PMC_PCSR).

Regards

Mark

www.uTasker.com

Re: lpc2378 stk SPI

 by mjbcswitzerland ¦  Sat Aug 28, 2010 11:45 am ¦  Forum: Everything ARM and LPC ¦  Topic: lpc2378 stk SPI ¦  Replies: 3 ¦  Views: 1767

Hi Daniel Although some SSP / SPI interfaces are connected on the bard that you are using, each of the peripherals is controlled by a chip-select line. When you add further SPI devices they will also have their own CS lines, meaning that one SSP / SPI bus can be shared by multiple peripherals. The a...

Re: lpc17xx ext interrupt vs gpio interrupt

 by mjbcswitzerland ¦  Sat Aug 28, 2010 11:40 am ¦  Forum: Everything ARM and LPC ¦  Topic: lpc17xx ext interrupt vs gpio interrupt ¦  Replies: 4 ¦  Views: 7692

Hi To enable falling edge interrupt on P2.10 you need to set IO2IntEnF |= 0x0000400; rather than clear it. To clear the interrupt in the EXINT3 IRQ you can write IO2IntClr = 0x0000400; There is no need to read and OR the content beforehand. The EXINT3 shares interrupts with the port change interrupt...

Re: STM32 - uTasker project update

 by mjbcswitzerland ¦  Sat Jul 10, 2010 4:23 pm ¦  Forum: Everything ARM and LPC ¦  Topic: STM32 - uTasker project update ¦  Replies: 1 ¦  Views: 867

Hi All

So that you can get a better idea of the project a video had been added here: http://www.youtube.com/watch?v=2Rbz1SOoJVI

I hope that you enjoy it.

Regards

Mark

STM32 - uTasker project update

 by mjbcswitzerland ¦  Wed Jul 07, 2010 7:51 am ¦  Forum: Everything ARM and LPC ¦  Topic: STM32 - uTasker project update ¦  Replies: 1 ¦  Views: 867

Hi All The uTasker project has been updated with support for the STM32 connectivity line. A preliminary demo (STM32 simulator and target files for STM3210C-EVAL board http://www.st.com/mcu/contentid-100-110-STM3210C_EVAL.html ) includes web server and FTP support with either file system in internal ...