Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
reprap:anet:anet_mainboard_overclocking [2018/01/04 15:30] – gmarsh23 | reprap:anet:anet_mainboard_overclocking [2018/01/04 15:39] – [Crystal selection and replacement] gmarsh23 | ||
---|---|---|---|
Line 81: | Line 81: | ||
To calculate for different clock frequencies and baud rates, use the following math: | To calculate for different clock frequencies and baud rates, use the following math: | ||
- | * UART divisor = (Processor clock) | + | * UART divisor = crystal frequency |
- | * Actual baud rate = (Processor clock) | + | * Actual baud rate = crystal frequency |
* Actual baud rate and desired baud rate should be +-5%, preferably +-2.5% | * Actual baud rate and desired baud rate should be +-5%, preferably +-2.5% | ||
Line 178: | Line 178: | ||
#define DELAY_9_NOP DELAY_1_NOP; | #define DELAY_9_NOP DELAY_1_NOP; | ||
- | Lastly, | + | 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 | + | Add the two additional |
#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" | + | 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", |
==== 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 :) |