Trouble writing to an SPI display

Discussion in 'Embedded Systems and Microcontrollers' started by mymixed, Jun 12, 2013.

  1. mymixed

    Thread Starter New Member

    Feb 23, 2013
    1
    0
    This is my first time posting on this forum. I'm trying to interface with this display: http://www.adafruit.com/products/661. I have an Atmega32u4 that i've been programming in C. The library written for that display was written for arduino, which I don't want to use. I have SPI confirmed working (with my logic8) on my AVR. I've read through the datasheet, and I really only understand how to send commands to the display. I'm just not getting how to send pixel data to the display. Here's the link to the display's datasheet: http://www.adafruit.com/datasheets/SSD1306.pdf.

    I did load the example code on the Arduino and I tried looking at the output on my logic. This is the output I got:
    http://i.imgur.com/2w6C2fx.png
    It doesn't look like normal SPI to me, especially the clock pulse.
     
Loading...