2006-07-14 03:45 AM
running BLDC motor, in standalone mode (rs232 problem)
2011-05-17 01:18 AM
Hello
I have the AN1905 library and documents. In the pdf file it says: ''When running the starter kit in standalone mode, the RS232 communication interface might be used using the ‘tty_7.exe’ windows program;'' I don't have this tty_7.exe !!! Where can I get it ? To specify my problem more generaly: The board of the starter kit, for the ST7FMC, comes with RS232 connector on it. How do I transmit data from the application that runs on the board, to the PC ? e.g. - my variables values and stuff. Thanks a lot Oren2011-05-17 01:18 AM
Hi Oren,
you have this file :-]. Please, check into: C:\Program Files\SofTec Microsystems\AK-ST7FMC\Library\SCI_Utilities Concerning what you want to send via RS232, you should fill up the array 'Lin_Tx_Buffer[i]' in the 'main.c' module with the data you prefer, in a similar way as it is in the provided code. Please, let me know if you have some further needs. Regards, Tanio2011-05-17 01:18 AM
Hello Tanio
Thanks a lot :) you wrote: Please, check into: C:\Program Files\SofTec Microsystems\AK-ST7FMC\Library\SCI_Utilities Please, let me know if you have some further needs. I don't have SCI_Utilities directory !!! In C:\Program Files\SofTec Microsystems\AK-ST7FMC\Library I have only: BLDC Sensorless BLDC Sensor AC Can you help ? Do you know from were I download it ? Also I found out how to transmit something, with the Lin_tx_bufffer, but I didn't find how to format a string, with sprintf (%d, %f, %x, ....) Is there a way to do this ? (I mean to send variable contain 3.6 as the C string 3.6, not the binary value) Thanks Oren2011-05-17 01:18 AM
Hello Omatza,
please, consider the attached file ''SCI_utilities'' in which you find all the files referred in the application note. By the way, in the Softec Microsystem website, there is the version 1.1 of ST7FMC GUI in which you can find the folder that I indicated to you in previous message (in case there were problems with my attachment). Regarding the SCI transmission, I can search if something is available for ST7MC and in this case I will let you know. For your information in AC 3phase library, there are two modules ''sci.h'' and ''sci.c'' that implements that functionality (cf. SCI_PutString() function) you are asking for. You could adapt them for your purposes. Best regards, Tanio2011-05-17 01:18 AM
Hello Tanio
Thanks a lot fort the help. (I answer from my wife's mom, so I don't download your attchement) I already saw the SCI_PutString() in the AC library. :) That's why I askkd if something like sprintf is not avilable I will be happy to hear if you have more inputs. I wish you a very good weekend. Oren2011-05-17 01:18 AM
I was able to get the results shown in Fig. 27 of AN1905 using TTY_7.exe.
How do you configure Hyperterminal to get the same results? Just curious, AJ