Comments (12)
@cprezzi I'm not sure it's like that for small micros. The LPC1768 and LPC1769 are likely the same chip tested and sorted according to the testing. I think it's more likely the chip will misbehave if the external environment makes it hot.
Perhaps we should tag this issue as an enhancement and plan to generate an alternate 100MHz config that people can switch in the Makefile?
from grbl-lpc.
I guess you are right, but I'm not the LPC specialist here.
@tbfleming Can you step in with your deeper knowlede please.
from grbl-lpc.
I'll try to explain later when I have time. The quick answer is: no, it's complicated enough that you need to use one of Arm's wizards to edit the headers to change clock frequency.
from grbl-lpc.
At least I can say that grbl-LPC works on the MKS SBase board (LPC1768) without changes ;)
from grbl-lpc.
MKS used a '68? Lame! There's not much price difference between the two chips.
from grbl-lpc.
@cprezzi if you have a scope handy, I'd be curious to hear if the step rate is coming out correctly. I think I know what MKS might have done; if so the normal build would throw off the timers instead of overclocking the chip.
from grbl-lpc.
As far as I know this is the mks sbase schematic, can't recall where I got it.
from grbl-lpc.
Thanks @TomKeddie! In this schematics, it is a 1769, but on my board (from aliexpress) it is a 1768 and grbl-LPC works with my board.
from grbl-lpc.
The schematic is missing a critical value: Y1's oscillator frequency. The ARM wizard needs to know this value to modify the header file to set the PLL config bits correctly. The PLL converts the input oscillator to the various clocks within the chip. The wizard figures out how to configure the PLL to do that correctly.
2 possibilities:
- The MKS board has a lower frequency crystal designed to work with the PLL config that Smoothieware and GRBL-LPC use. If they did this, then grbl-lpc's current config won't overclock the chip, but the counters will run slow.
- The MKS board uses the same crystal as a Smoothieboard. In this case grbl-lpc's current config overclocks the '68 to run at the '69's speed.
from grbl-lpc.
@tbfleming Y1 on my board is 12.000 MHz and Y2 is 25.000 MHz
from grbl-lpc.
@cprezzi that means we're currently overclocking your chip.
from grbl-lpc.
@tbfleming I didn't realize any problems yet, but I will check if the MCU gets hot.
from grbl-lpc.
Related Issues (20)
- Error in checksum calculation in flash.cpp HOT 3
- Open drain outputs HOT 7
- Laser PWM PIN how can i find it? HOT 16
- how to compile master to binary HOT 1
- Compile thew project for MKSSBASE1.3 HOT 1
- Windows Comiple Issue HOT 2
- please help, compileeeeee HOT 1
- Setting up an MKS board - PWM/TTL HOT 7
- M9 not working on mks HOT 2
- Can this run on LPC1768? SKR boards? HOT 5
- pn:PA triggered on MKS HOT 4
- Compatible with Bigtreetech SKR V1.3?
- MKS Sgen L HOT 1
- Safety door detected as opened HOT 1
- Compiling in Platform IO HOT 1
- How to compile Firmware.bin without Arduino IDE (LPC17xx) HOT 1
- LPC boards HOT 11
- grbl-LPC on AZSMZ Mini Board HOT 5
- Homing does not move motors HOT 12
- arduino cnc sheild grbl setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grbl-lpc.