Hardware Keylogger


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default Microwire, SPI, I2C

    Crazy question... but is microwire the same thing as SPI? Everything I have read tends to associate the two, but nothing clearly states that they are the same thing. Or, is microwire the same thing as I2C; or neither is related?

  2. #2
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    I believe SPI and Microwire are related yet not exactly the same, and I2C is different again.

    http://www.scienceprog.com/microwire...o-spi-and-i2c/
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  3. #3
    Join Date
    Jan 2009
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    SPI is a close cousin of the older Microwire.
    I2C is quite a bit more complex than SPI and Microwire.

    There is a minimum of 3 connections for SPI and Microwire: serial clock, serial data out and serial data in. Therefore you'll see those interfaces sometimes referred to as 3-wire interfaces.

    If you want to connect N devices to your microcontroller with Microwire or SPI you need to sacrifice 3+N pins to do the job. This is an area where I2C has an advantage.

    Microwire and SPI shine when it comes to speed. I2C was initially specified at a maximum speed of 100kbits/sec. This was later increased to 400kbits/sec and lately some devices started to show up that boast 1Mbits/sec. This still pales in comparison to Microwire and SPI speeds. SPI has the edge over Microwire, due to the availability of higher speed peripheral devices. Today's serial EEPROM for example support up to 3MBits/s for Microwire and up to 10Mbits/sec for SPI. But even the slowest Microwire and SPI peripherals still beat the typical 100 or 400kbit/s I2C speeds.

    Here is also a comparision between several serial Protocols, including I²C, SPI and Microwire.

    Hope this help.

  4. #4
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Cool USBN9604 and 18F4550

    Well... I decided to go with an 18F4550, since it gives a little more room for evil expansion.

    Here is a spaghetti schematic, so good luck trying to find the wire routes. Still trying to figure out some things on Eagle. Please take a look and comment. Am walking over to the breadboard in a few minutes to start putting it together.

    Disregad X1 and X2. Those are just place holder sockets for extra SPI devices, like an MMC or bluetooth.
    Attached Images Attached Images  
    Last edited by kirtcathey; - 15th January 2009 at 14:01.

  5. #5
    Join Date
    Jan 2009
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    Didn't you forget to wire the data/adress bus ?

  6. #6
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    I just changed the drawing in the attachment above. Moved the connect to clockout on the 9604 to the WR/SK pin. Is that correct? To have the same pin going to both SK and SDI on the PIC?

    Data address bus.... can you elaborate? Got it! The eagle device is a bit funky.... confirmed the data sheet and will update the drawing.

    Thanks alot.
    Last edited by kirtcathey; - 15th January 2009 at 14:12.

  7. #7
    Join Date
    Jan 2009
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    D0/AD0 to D7/AD7 pins on the 9604, how does the two chip communicate ?

  8. #8
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default USBN9604 and 18F4550 - Updated

    The data sheet and the Eagle symbol confused me. Here is an update.
    Attached Images Attached Images  

Similar Threads

  1. Benefits of hardware usart over software?
    By sccoupe in forum Serial
    Replies: 2
    Last Post: - 19th March 2009, 01:16
  2. Keylogger software
    By Christopher4187 in forum Off Topic
    Replies: 3
    Last Post: - 5th June 2008, 14:58
  3. using hardware ports
    By sebapostigo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th November 2007, 22:01
  4. PBP hardware oriented?
    By mpavlica in forum PBP Wish List
    Replies: 7
    Last Post: - 15th June 2005, 06:18
  5. Bootloader Hardware Modification
    By NavMicroSystems in forum Schematics
    Replies: 1
    Last Post: - 5th August 2004, 00:46

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts