I try to send data over SCI to my PC. The code is based on the example "Example_F2802xSci_Echoback". I modyfied it a little bit to just send one byte every half second. For testing the program, i used a C2000 piccolo stick. On my PC i'm using the software "RealTerm" to view data from the COM port. Everything works perfect so far.
Here is my problem. I designed two PCB's on which i used exact the same components as on the Piccolo Stick. On the first PCB there is the mc F28027, power supply and other components. On the second PCB there is the FDI Chip with the Logic and EEPROM. The two PCB's are connected with a flex cable (length 5cm). The PCB with the FTDI is connected with an USB Cable to my PC (length 30cm).
These are the eagle-shematic files
Therefore that i could flash the F28027 with CCS i configured the EEPROM for the FTDI chip according to following post
http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/21086.aspx?pi310980=1
When i execute the program with CCS on my own hardware, i dont receive anything on my PC. I also tried it with the example "Example_F2802xSci_Echoback" but same problem.
SCI Configuartion:
1 stop bit, No loopback, No parity, 8 char bits, async mode, idle-line protocol, 9600 baud rate
Maybe its a problem with my FTDI Chip and the configuration?
I have checked the EEPROM values with "FT Prog". Here are the values from the C2000 Piccolo Stick:
0000 : 10 08 03 04 D0 A6 00 05 80 64 0C 00 00 02 96 06 .. .. .. .. d. .. .. .. 0010 : 9C 48 E4 12 46 00 06 03 54 00 49 00 48 03 54 00 H. .. .F .. .T .I .H .T 0020 : 65 00 78 00 61 00 73 00 20 00 49 00 6E 00 73 00 .e .x .a .s .. .I .n .s 0030 : 74 00 72 00 75 00 6D 00 65 00 6E 00 74 00 73 00 .t .r .u .m .e .n .t .s 0040 : 20 00 58 00 44 00 53 00 31 00 30 00 30 00 2B 00 .. .X .D .S .1 .0 .0 .. 0050 : 52 00 53 00 32 00 33 00 32 00 20 00 56 00 31 00 .R .S .2 .3 .2 .. .V .1 0060 : 2E 00 30 00 12 03 54 00 49 00 56 00 45 00 42 00 .. .0 .. .T .I .V .E .B 0070 : 4F 00 33 00 43 00 00 00 01 00 00 00 00 00 8D AD .O .3 .C .. .. .. .. .. 0080 : 10 08 03 04 D0 A6 00 05 80 64 0C 00 00 02 96 06 .. .. .. .. d. .. .. .. 0090 : 9C 48 E4 12 46 00 06 03 54 00 49 00 48 03 54 00 H. .. .F .. .T .I .H .T 00A0 : 65 00 78 00 61 00 73 00 20 00 49 00 6E 00 73 00 .e .x .a .s .. .I .n .s 00B0 : 74 00 72 00 75 00 6D 00 65 00 6E 00 74 00 73 00 .t .r .u .m .e .n .t .s 00C0 : 20 00 58 00 44 00 53 00 31 00 30 00 30 00 2B 00 .. .X .D .S .1 .0 .0 .. 00D0 : 52 00 53 00 32 00 33 00 32 00 20 00 56 00 31 00 .R .S .2 .3 .2 .. .V .1 00E0 : 2E 00 30 00 12 03 54 00 49 00 56 00 45 00 42 00 .. .0 .. .T .I .V .E .B 00F0 : 4F 00 33 00 43 00 00 00 01 00 00 00 00 00 8D AD .O .3 .C .. .. .. .. ..
And here are the values from the EEPROM on my PCB flashed according to the instruction:
0000 : 10 08 03 04 D0 A6 00 05 80 64 0C 00 00 02 96 06 .. .. .. .. d. .. .. .. 0010 : 9C 48 E4 12 46 00 06 03 54 00 49 00 48 03 54 00 H. .. .F .. .T .I .H .T 0020 : 65 00 78 00 61 00 73 00 20 00 49 00 6E 00 73 00 .e .x .a .s .. .I .n .s 0030 : 74 00 72 00 75 00 6D 00 65 00 6E 00 74 00 73 00 .t .r .u .m .e .n .t .s 0040 : 20 00 58 00 44 00 53 00 31 00 30 00 30 00 2B 00 .. .X .D .S .1 .0 .0 .. 0050 : 52 00 53 00 32 00 33 00 32 00 20 00 56 00 31 00 .R .S .2 .3 .2 .. .V .1 0060 : 2E 00 30 00 12 03 54 00 49 00 58 00 5A 00 54 00 .. .0 .. .T .I .X .Z .T 0070 : 37 00 42 00 4F 00 00 00 01 00 00 00 00 00 4D 9C .7 .B .O .. .. .. .. .M 0080 : 10 08 03 04 D0 A6 00 05 80 64 0C 00 00 02 96 06 .. .. .. .. d. .. .. .. 0090 : 9C 48 E4 12 46 00 06 03 54 00 49 00 48 03 54 00 H. .. .F .. .T .I .H .T 00A0 : 65 00 78 00 61 00 73 00 20 00 49 00 6E 00 73 00 .e .x .a .s .. .I .n .s 00B0 : 74 00 72 00 75 00 6D 00 65 00 6E 00 74 00 73 00 .t .r .u .m .e .n .t .s 00C0 : 20 00 58 00 44 00 53 00 31 00 30 00 30 00 2B 00 .. .X .D .S .1 .0 .0 .. 00D0 : 52 00 53 00 32 00 33 00 32 00 20 00 56 00 31 00 .R .S .2 .3 .2 .. .V .1 00E0 : 2E 00 30 00 12 03 54 00 49 00 58 00 5A 00 54 00 .. .0 .. .T .I .X .Z .T 00F0 : 37 00 42 00 4F 00 00 00 01 00 00 00 00 00 4D 9C .7 .B .O .. .. .. .. .M
The values are different, but i dont know if this is the reason for my problem?
Someone has any ideas or suggestions?
Thanks, Chris