Commit Graph

53 Commits

Author SHA1 Message Date
Hakan Bastedt
7e06b0ce68 ooops it was set to use DC sync, not the intention, SM2 sync was intended. Switch to SM2 sync 2024-01-05 21:33:06 +01:00
Hakan Bastedt
37d3ea6567 Solution was to NOT do the steps in the IRQ. Set a flag and do pulses outside of the irq. 2024-01-05 19:33:13 +01:00
Hakan Bastedt
ed168df64e It actually makes pulses at 1ms intervals here. Saving this moment. 2024-01-05 17:46:31 +01:00
Hakan Bastedt
1168f7e5ad Now it is occasionally updating correct 1 ms. wip. 2024-01-04 23:00:09 +01:00
Hakan Bastedt
93405efd63 Why is actualposition updated every 2 ms, not every 1 ms? 2024-01-04 22:23:52 +01:00
Hakan Bastedt
484c984e49 Basic function using SM2 sync inteerupt. Stepgen half functional 2024-01-04 21:38:40 +01:00
Hakan Bastedt
e6cd5356c9 tests with linuxcnc, DC sync is not the way to go, leaving that 2024-01-04 11:39:01 +01:00
Hakan Bastedt
5978ebec24 Pending tests. Merging this branch 2024-01-02 23:58:29 +01:00
Hakan Bastedt
d4a83eae80 Use frequency instead of pulse width - much better resolution at high freq. 2024-01-02 23:55:32 +01:00
Hakan Bastedt
2e8e938345 Bugs found. set duty cycle after overflow() 2024-01-02 23:51:58 +01:00
Hakan Bastedt
cc1ca73219 wip, local testing to start 2024-01-02 23:32:47 +01:00
Hakan Bastedt
b57bd740ab double float = fal_float size added to lcec. LCNC starts and works 2024-01-02 18:46:26 +01:00
Hakan Bastedt
8007a2ff6c Test with minium pulse delay 5 usec - can be set easily. 2024-01-01 22:52:14 +01:00
Hakan Bastedt
a21e932b5a Direction pin works in test 2024-01-01 22:48:50 +01:00
Hakan Bastedt
64d62a954a Basic test with puls sequence 2024-01-01 22:42:12 +01:00
Hakan Bastedt
f99d9bab77 Here are those changes... Worked in another repositiry hehe 2024-01-01 20:40:29 +01:00
Hakan Bastedt
703bbfb03a wip, stepper doesn't run 2024-01-01 15:27:29 +01:00
Hakan Bastedt
f0ec7a834c Tested, works in linuxcnc, doesn't work in free run mode 2024-01-01 00:37:45 +01:00
Hakan Bastedt
28f01a9919 WIP, non-functional 2023-12-31 20:09:55 +01:00
Hakan Bastedt
bf8fccd0d6 Patch for lcec to support 64-bit floats 2023-12-31 13:06:32 +01:00
Hakan Bastedt
f27a27ed1b 64-bit data types added 2023-12-31 13:00:48 +01:00
Hakan Bastedt
485901120c Reshuffle file structure 2023-12-31 09:17:42 +01:00
Hakan Bastedt
1851f4168e Geographic annotation on pcb 2 2023-12-31 09:07:56 +01:00
Hakan Bastedt
ab034e93f8 wip stepgen 2023-12-31 08:57:37 +01:00
Hakan Bastedt
0929d23207 DC synchronization works, interrupt counter counts 2023-12-30 20:41:52 +01:00
Hakan Bastedt
818f853af0 Pending video release 2023-12-29 17:37:27 +01:00
Hakan Bastedt
5abaf4ace7 Pending video release 2023-12-29 15:05:23 +01:00
Hakan Bastedt
2a1111c537 Updates to encoder 2023-12-28 18:46:13 +01:00
Hakan Bastedt
d9b088687f New pcb 2023-12-28 18:45:54 +01:00
Hakan Bastedt
2790280c4a Added linuxcnc files 2023-12-26 18:24:03 +01:00
Hakan Bastedt
890a81952b Encoder works also for threading cycle. non-optmized. 2023-12-26 18:16:04 +01:00
Hakan Bastedt
d878101c62 After making board no 2. work 2023-12-25 20:46:53 +01:00
Hakan Bastedt
3cd2755645 Added arduino sketch to write a valid eeprom for lan9252. 2023-12-24 23:29:03 +01:00
Hakan Bastedt
49c804516d Tested in the lathe. Works, of course 2023-12-24 23:28:10 +01:00
Hakan Bastedt
c972fef18f Think I got the EEPROM_Generator right 2023-12-22 22:26:40 +01:00
Hakan Bastedt
5bb330f215 Struggling with EEPROM_Generator 2023-12-22 22:25:26 +01:00
Hakan Bastedt
c17650879f Merge branch 'Video4' of https://github.com/MetalMusings/MyOwnEtherCATDevice into Video4 2023-12-22 22:07:59 +01:00
Håkan Båstedt
120361fd4e Update README.md 2023-12-22 09:54:32 +01:00
Håkan Båstedt
5786549356 Update README.md 2023-12-22 01:00:54 +01:00
Håkan Båstedt
64fa4c0fb4 Update README.md 2023-12-22 01:00:22 +01:00
Håkan Båstedt
ba7bbe77ea Update README.md 2023-12-21 18:28:27 +01:00
Håkan Båstedt
3512d07759 Update README.md 2023-12-21 18:27:24 +01:00
Hakan Bastedt
99a368b64e Editorial 2023-12-21 16:24:06 +01:00
Håkan Båstedt
9d4b1eaa34 Update README.md 2023-12-21 15:46:01 +01:00
Håkan Båstedt
fa98cac0fd Update README.md 2023-12-21 15:45:38 +01:00
Hakan Bastedt
e1fce859a4 Removng fp-info-cache and adding to .gitignore 2023-12-21 11:36:44 +01:00
Hakan Bastedt
26c6bbaf28 Merge branch 'Video4' of https://github.com/MetalMusings/MyOwnEtherCATDevice into Video4 2023-12-21 11:33:47 +01:00
Hakan Bastedt
e9884d9ecd Fixed 4-layer files 2023-12-21 11:31:33 +01:00
Håkan Båstedt
69ec7e15e0 Update README.md 2023-12-21 11:21:46 +01:00
Hakan Bastedt
570cfd2c82 Added CubeMX file 2023-12-21 11:09:36 +01:00