ADDING A CONTROLLER:
There are several reasons for me going the route: "solution with the TMC603 as a gate driver is better" - Ill edit this later.But one big thing for me personaly is - I have lots of time - stranded at home with a boy that needs special care that only I can give.i AM GOING TO DO BOTH CONTROLLERS FROM THE EVAL BOARDS OF 389 & 603
I have started with the Library file, and updated it with the EVAL 603 Controller STM32F103RBT6 & AT91SAM7X256/518
Also the Schematic - ill update it along the way. Please scrutinize it carefully, because ill have to throw out a lot of stuff this project do not need.Q&A's:MOSFET related QUESTIONS:1]I changed items around the the mosfets - this is the first area to evaluate
[The TCM389 datasheet has less items than I have now-I imported stuff from the EVAL's]
2] USB ISOLATION & IMPROVEMENT:I have decided to ISOLATE the USB input to protect my PC - I think it is the WISE thing to do.
I chose the ADuM4160 as it is the best I could find.
THE USB FUNCTIONS ON BOTH BOARDS ARE NOT EXPLAINED - SO HAVE TROUBLE connecting the ADuM4160 CORRECTLY on both boards.
NOTE: I have asked Analog Devices
to verify my design on the ADuM4160:
VERIFY AT THIS REF: http://ez.analog.com/thread/14973
[color=#0000FF]USB related QUESTIONS:
3] What does USB-DISC do on 603 EVAL?
A] Disconect? STILL DONT KNOW-WHERE DO I FIND THE ANSWER? [is it disconnect or discover or connect?] I use it as a pull-up of the ADuM.
B] When if so? Why would I need it? SOMETIMES ITS NEEDED on MCU's
C] Can I leave it unconnected? DONT KNOW YET.
4] & USB-PRESENT? So long I put 3.3V from my USB isolator ADuM4160 on this line... Is this correct? CORRECT YES
5] & on the 389 USB-MONITOR, & USB-PRESENT.
- The USB-MONITOR - I presume - is looking for 3.3V signal from the 5V comming in. CORRECT
- But this is now isolated, I can give it 3.3V from the internal regulator, made from the 5V suply of the board side of the ADuM4160.
- USB-PRESENT: if it gives 3.3V power
to activate - like VUSB on normal pheriphiral cards, the PIN connector is the right choice.
- The ADuM4130 uses very little power on idle - so it actually do not need that - and I would like to discard what I can.
- IF I KNOW WHAT THE FUNCTION OF EACH IS - IT IS EASY. BUT I STILL CANNOT FIND ANY MENTION & EXPLANATION of SOME........SERIAL related QUESTIONS:
6] On the eval board, do I need the serial interfase? Or can programming be done through USB too?
I just put in a serial debug port - but can I leave it out too?
- NOT NEEDEDOTHER QUESTIONS - relating to things to leave out if not needed:
7] K14 and the pull-up resistors, do I need them? - NOT NEEDED
8] The TMC603 EVAL: - BH1-3 & BL1-3 how do they connect on THIS config on the STM32F103RBT6- if they do? [PA8-10] - NOT NEEDED
9] What is the "ENCODER" and its usage? Can I leave it out? - NOT NEEDED
10] VCC-IO I am guessing it is used to program 389 to use 3.3V or 5V to communicate with the other IC's.
Here is 2 voltages in use - so what is the option to do here, tie it to 5V or 3.3V? HERE IT SEEMS THAT THE MCU IS 5V TOLERANT...
11] On the STM32F103RBT6: Inputs EN-A,B,N is used for what? - NOT NEEDED
12] And the JTAG ? - NOT NEEDED
13] Encoder - This has to do with BLDC - and not with Steppers? If so - I can leave it out? - NOT NEEDED
14] I also do not know if it need to handle the 389 special functions like stallGuard2™........... I PRESUME SO
16] STM32F - Talking to TCM 389
This is the most problematic question for me.
When Using the STM32 controller - how would I connect it to the 389 if I want to run step dir through the USB?
again - see the schematic for my try at it.My QUESTIONS relating to the STM32 controller IS MARKED ON THE FIRST SCHEMATIC ON THE FIRST POST: