Comments (5)
There is another significant difference, the Trinamic drivers is controlled by a separate (soft) UART per driver, v2.0 is via a single hardware UART. There are code for soft UART controlled 2209s in the STM32F4xx repo for BTT SKR 1.1 and 2.0 that could be used as a starting point for this driver.
from stm32f1xx.
There is another significant difference, the Trinamic drivers is controlled by a separate (soft) UART per driver, v2.0 is via a single hardware UART. There are code for soft UART controlled 2209s in the STM32F4xx repo for BTT SKR 1.1 and 2.0 that could be used as a starting point for this driver.
Unfortunately, you're right.
I'll have to go back to my code, I really hate programming.
It means that the 2209 are running on the power up settings now.
Maybe that's enough for me...
Please, close all my issues associated with Trinamic driver.
from stm32f1xx.
In my opinion, software UART is not a good idea if we have hardware USART avaliable.
In my solution I use a GPIO mirroring.
Both writing and reading are done using hardware USART.
The only changes in Trinamic code (tmc2209.c) are resetting the TMC2209 address in the datagram to send because all TMC2209 on this board have address set to 0.
All code responsible of GPIO mirroring are organized in EXTI interrupt handler.
In the core module (btt_skr_mini_e3_2.0.c, driver.c, serial.c) initialization of GPIO, IRQ handle, and switching of the motor UARTs was added.
I will post the code after completing the tests.
from stm32f1xx.
Dear AndWalu, did you have any progress with testing. I am willing to test you code.
from stm32f1xx.
from stm32f1xx.
Related Issues (20)
- Usb not working on 103RC HOT 30
- Port restrictions for 5-axis? HOT 2
- STM32CubeIDE Build Project failed with 5 errors. HOT 2
- Creality 4.2.2 stm32f103ret6 support HOT 6
- safety door enabled but not stopping the program HOT 2
- machine suddenly stops while working HOT 2
- how to compiling stm32f103c8t6 HOT 2
- Questions about grblhal using timers for outputting pulses HOT 2
- Z probe wiring diagram for skr mini e3 v2 HOT 7
- Please, help check and suggest modifications CNC3040 map file. HOT 16
- no usb com port HOT 4
- USB is not working on stm32f103RCT6. HOT 4
- Motor Stepper buzzes using A4988 and drv 8825 HOT 4
- error:7 - A settings read failed. Auto-restoring affected settings to default values. HOT 7
- Build fails, not enough flash HOT 3
- MiniGerbil 2 board map HOT 1
- STM32F103RCT6 : bad linker file
- Y & Z TMC2209s not being properly init'ed on BTT SKR Mini E3 V2.0 HOT 5
- Can't use SWD on BTT SKR Mini E3 V2.0 HOT 4
- E-stop/alarm issue HOT 5
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 stm32f1xx.