SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 2 matches

 Go to advanced search

Re: SAM3X SPI troubleshooting

 by OnyxIbex ¦  Mon Mar 16, 2015 8:01 pm ¦  Forum: Everything ARM and LPC ¦  Topic: SAM3X SPI troubleshooting ¦  Replies: 1 ¦  Views: 2291

The following code workflow solved my issue. sysclk_init(); board_init(); pmc_enable_periph_clk(ID_PIOA); pmc_enable_periph_clk(ID_PIOB); pio_set_output(PIOA, PIO_PA29, LOW, DISABLE, ENABLE); // reset pio_set_output(PIOB, PIO_PB3, LOW, DISABLE, ENABLE); // dcx pio_set_peripheral(PIOA, PIO_PERIPH_A, ...

SAM3X SPI troubleshooting

 by OnyxIbex ¦  Sun Mar 15, 2015 2:54 pm ¦  Forum: Everything ARM and LPC ¦  Topic: SAM3X SPI troubleshooting ¦  Replies: 1 ¦  Views: 2291

I am using a custom board SAM3X8C and am having some trouble programming (Atmel Studio 6) the SPI interface to work with my ILI9341 LCD. The LCD module works with a separate board using an atmega2560 so I don’t believe the fault to be with the LCD itself. When I run the code provided below all I see...