tag:blogger.com,1999:blog-3747970306027691432.post136819342264177181..comments2023-03-29T12:51:07.043+02:00Comments on Forty-Two, and now?: C2000 Piccolo - Serial communicationsFranzhttp://www.blogger.com/profile/18441386776102308538noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-3747970306027691432.post-1563681571602930052016-04-23T04:47:07.258+02:002016-04-23T04:47:07.258+02:00Hi....I am using C2000 piccolo launchpad F28027......Hi....I am using C2000 piccolo launchpad F28027....I want to transmit data from C2000 to xigbee....I ahve connected the xigbee from SCITXD but my launchpad is also connected to pc via usb ....Will the SCITXD will work?...How to store the program on the c2000 launchpad....But i also want to observe the data in c2000 memeory so I cant disconnect it from pc....Any suggestion?...Or there any other way to connect xigbee to C2000?...I am coding using simulinkAnonymoushttps://www.blogger.com/profile/03537045455759873900noreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-75594665934273382032014-02-13T02:34:46.691+01:002014-02-13T02:34:46.691+01:00Hi!
I'm trying to use the Sci module of the p...Hi! <br />I'm trying to use the Sci module of the piccolo launchpad, but I'm using assambly instructions.<br />My problem is that I can't see the information byte on the Tx pin.<br />I've alrady enabled the SciClk, and I've checked that all the Sci registers.<br />On the Sci Reference guide says that once the TxBuf is written to, the TxEmpty flag must be cleared and I get 0x00c0 on the SciCtl2 register right after writting to the TxBuf, which meand that TxEmpty and TxRdy flags are set.<br />I appreciate any help!<br />Thank you!Oscarhttps://www.blogger.com/profile/15598461575311693343noreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-52377270477140240212014-01-31T14:21:53.664+01:002014-01-31T14:21:53.664+01:00Hi,
I'm sorry for the late response. The noti...Hi,<br /><br />I'm sorry for the late response. The notifications about new posts here came to my spam box.<br /><br />I acctually resolved this problem and all the data from all the sensors (4: 2 teperature, 1 humidity and 1 lightning) were sent by spi, using UART perfectely.<br />The problem was an implementation of transmition and receiving of data to and from master device (F28035)<br />That is a short version of the solution.<br />If you have more questions, write to me at rafal-chojnowski@o2.plAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-35011483590995893832013-12-28T18:54:22.434+01:002013-12-28T18:54:22.434+01:00Well, honestly I never tried SPI / I2C on the picc...Well, honestly I never tried SPI / I2C on the piccolo, I will probably have to use them on the stellaris in a month or so...<br /><br />the SCI-A is a single module that handles all the serial communication, so it is totally possible that some things might interfere if you try to use the simultaneously.<br />I am sorry I am not able to help you with this one, I am not even sure I understood the complete scenario.<br />What is not clear is when you say : when i add a byte FROM ANOTHER SENSOR.<br />UART is not a bus communication, I think you get weird results having different devices transmitting on the same line if this is what you are doing.<br />I2C might be more appropriate as you can have several slaves, but 1) the communication is normally initiated by the master and 2) it might be tricky for longer distances.<br /><br />In a similar scenario I implemented a simple rs485. it is a bit slow, but it is cheap and easy to set up if your devices have an uart.Franzhttps://www.blogger.com/profile/18441386776102308538noreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-15793420063532913162013-12-23T11:12:04.448+01:002013-12-23T11:12:04.448+01:00Dear Francesco,
Have you ever tried using I2C and...Dear Francesco,<br /><br />Have you ever tried using I2C and SCI modules on F2803x ??<br /><br />I am supposed to make a measurement module based on TMS320F28035 MCU and I have a problem with making it work.<br />I implemented a code to communicate with 5 sensors and I am collecting data from them without a problem. <br />If I want to send e.g. 2 bytes from one of the sensors, a terminal program sees them correctly. Everything is fine when I do that.<br />BUT, when I want to add even one byte from another sensor to the previous 2, the data from all of the sensors become weird. They are completely not as before adding the additional byte to UART communitacion. <br />May it be that SCI affects I2C? Because SCI sends right data, but I2C collects some rubbish which seems like overload of I2C buffers.<br />If you want I can send you my code by e-mail.<br />My address is rafal-chojnowski@o2.pl<br /><br />Thank you in advance for your help,<br />Regards<br />RafalAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-70949491034961351432013-12-23T11:11:16.492+01:002013-12-23T11:11:16.492+01:00Dear Francesco,
Have you ever tried using I2C and...Dear Francesco,<br /><br />Have you ever tried using I2C and SCI modules on F2803x ??<br /><br />I am supposed to make a measurement module based on TMS320F28035 MCU and I have a problem with making it work.<br />I implemented a code to communicate with 5 sensors and I am collecting data from them without a problem. <br />If I want to send e.g. 2 bytes from one of the sensors, a terminal program sees them correctly. Everything is fine when I do that.<br />BUT, when I want to add even one byte from another sensor to the previous 2, the data from all of the sensors become weird. They are completely not as before adding the additional byte to UART communitacion. <br />May it be that SCI affects I2C? Because SCI sends right data, but I2C collects some rubbish which seems like overload of I2C buffers.<br />If you want I can send you my code by e-mail.<br />My address is rafal-chojnowski@o2.pl<br /><br />Thank you in advance for your help,<br />Regards<br />RafalAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-61607342067794703592013-03-01T09:59:58.709+01:002013-03-01T09:59:58.709+01:00Thanks again for your help. I managed to find the ...Thanks again for your help. I managed to find the demo software source code and with the help of that I got it working. <br />Changed a few things and now have an echo program working.<br />ThanksAnonymoushttps://www.blogger.com/profile/07702900559182901560noreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-13014752059370212752013-03-01T08:46:28.282+01:002013-03-01T08:46:28.282+01:00Uhm, in that case it should really work, normally ...Uhm, in that case it should really work, normally the only HW setting needed is the S4 switch.<br />You may have problems with the windows driver for the virtual comport (if you have any other ftdi device that sends data, you may try to verify with that one).<br />Also the problem may be in the terminal program you are using under windows, in which you may have not set the correct connection properties.<br />I use Teraterm and had that issue at the beginningFranzhttps://www.blogger.com/profile/18441386776102308538noreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-41025555775903639652013-02-28T09:38:08.317+01:002013-02-28T09:38:08.317+01:00Thanks for replying.
I am using the FTDI VCP. On...Thanks for replying. <br /><br />I am using the FTDI VCP. Only one VCP get enumerated so I can only connect to that one. Will have a closer look at the schematic to see if there is some hardware change that needs to be done.Anonymoushttps://www.blogger.com/profile/07702900559182901560noreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-41894139224387577072013-02-28T08:56:15.118+01:002013-02-28T08:56:15.118+01:00Hello, are you actually trying to achieve serial c...Hello, are you actually trying to achieve serial communications via the USB (FTDI) interface or via the expansion pins (TTL UART)?<br /><br />If you use the FTDI virtual serial port, the issue might be on your PC side (maybe you are not checking the correct comport?) Franzhttps://www.blogger.com/profile/18441386776102308538noreply@blogger.comtag:blogger.com,1999:blog-3747970306027691432.post-7487328832600134102013-02-27T18:26:49.815+01:002013-02-27T18:26:49.815+01:00Thanks for your great guides.
I am trying to get ...Thanks for your great guides.<br /><br />I am trying to get the serial port working on my C2000 and can't seem to get any data out. I have tried the example program and also checked it with your steps and all seems ok. I have also made sure that S4 is on and all of S1 is also on.<br /><br />When the program runs, no data is seen on Putty or a port monitor that I am using. The TX and RX LED's on the board also don't light up indicating that data was sent from the C2000.<br /><br />Do you know of any other set up that I might need to do. <br /><br />I have a flashing LED program working so think I have my project set up correctly.<br /><br />Thanks,<br />GregAnonymoushttps://www.blogger.com/profile/07702900559182901560noreply@blogger.com