reprap:anet:anet_mainboard_overclocking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
reprap:anet:anet_mainboard_overclocking [2018/01/04 15:30] gmarsh23reprap:anet:anet_mainboard_overclocking [2018/01/04 15:37] – [Marlin changes] gmarsh23
Line 178: Line 178:
   #define DELAY_9_NOP DELAY_1_NOP; DELAY_8_NOP   #define DELAY_9_NOP DELAY_1_NOP; DELAY_8_NOP
  
-Lastly, find the following section:+Next find the following section:
  
   #if CYCLES_PER_MICROSECOND == 16   #if CYCLES_PER_MICROSECOND == 16
Line 186: Line 186:
   #endif   #endif
  
-Add the two middle lines shown, with the values altered to correspond to the crystal frequency you've chosen. Here is the setting for 24MHz - Note that "DELAY_20_NOP" and "DELAY_4_NOP" add up to 24.+Add the two additional lines shown (the #elif line and the line after), with the "24" value altered to correspond to the crystal frequency you've chosen. Here is the setting for 24MHz - Note that "DELAY_20_NOP" and "DELAY_4_NOP" add up to 24. If you're using a frequency that isn't a multiple of 1MHz, then round up (eg, use 25 for a 24.576MHz crystal)
  
   #if CYCLES_PER_MICROSECOND == 16   #if CYCLES_PER_MICROSECOND == 16
Line 222: Line 222:
   python createSpeedLookupTable.py --cpu-freq 25 > new_table.h   python createSpeedLookupTable.py --cpu-freq 25 > new_table.h
  
-If you're using a crystal frequency which isn't a multiple of 1MHz, you'll need to edit the script to remove the "* 1000000" line, and call the script with --cpu-freq <hz> instead.+If you're using a crystal frequency which isn't a multiple of 1MHz, you'll need to edit the script to remove the "* 1000000", and call the script with --cpu-freq <hz> instead.
  
 ==== Compiling and installing new firmware ==== ==== Compiling and installing new firmware ====
  
 There are many guides online describing how to compile and install Marlin on an Anet A8. Find one and link it here :) There are many guides online describing how to compile and install Marlin on an Anet A8. Find one and link it here :)
  • reprap/anet/anet_mainboard_overclocking.txt
  • Last modified: 2018/12/02 02:27
  • by 127.0.0.1