Changeset 11787


Ignore:
Timestamp:
08/05/11 14:10:19 (13 years ago)
Author:
neise
Message:
set W5300 SPI clock freq to F_CPU/128. Since sometimes the W5300 interface seems not to work, when the Programming adapter is connected to the camere, this *might* help.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • firmware/FSC/src/spi_master.c

    r11667 r11787  
    1616
    1717void spi_setup_w5100() {
    18         spi_clock_index = 1;            //
     18        spi_clock_index = 0;            //
    1919        spi_dord = 0;                                   // Data Order MSB first dord = 0  --> good for all devices
    2020        spi_cpol = 0;   spi_cpha = 0;   // SPI mode=0 good for ethernet.
Note: See TracChangeset for help on using the changeset viewer.