Hello,
I'm using a TMDSHVMTRINSPIN Kit(Rev 1p1) with a TMS320F28069MPZT controlCard and a TMS320F28027FPTT controlCard. At the moment I'm trying to use a SCI Communication to send and recieve data via Simulink Embedded Coder Toolbox with a USB connection. As a beginning I'm trying to send a constant via SCI to the board and send that constant back to Simulink via SCI. At the moment this is not working with either controlCard. I also tried to only send from the controlCard to Simulink or send from Simulink to the controlCard to drive a ePWM. Non of these operations are working.
Independent from Simulink, I wanted to ask if it is actually possible to do this with this hardware configuration? After I researched in the TI documentation, I'm a bit confussd to be honest.
If I read the documentation correct, You cannot use the SCI(UART) of the HVMTR with the F28069M because of a problem with the isolated USB emulator of the controlCard and the UART of the board. Is this correct? Is there a way to use the UART Connection to Recieve and Transmit on SCI with the F28069M?
Switchsettings of the F28069M at the moment are: SW1: P1 on, P2 on; SW2: P1 off, P2 off; SW3: P1 on, P2 on.
Jummpersettings of the HVMTR: J5 populated, J9 not populated.
When using the F28027, I get the same results. But after researching the TI documentation, I found that it should work in general. What I didn't fully understand is the use of resistor R10 on the ontrolCard. In the HVMTR Quick Start Guide it is stated that R10 needs to be depopulated to use the UART of the HVMTR. In the HW Guide for the F28027 it is stated, that if R10 is populated the oncard tranciever is conected while if R10 is depopulated the RX pin can be controlled by the baseboard. The latter is said to be default, but on the card I'm using there is clearly something populating R10. Do we have to detach that to be able to communicat via SCI(UART)?
Switchsettings of the F28027 at the moment are: SW1: P1 on, P2 on; SW2: P1 off, P2 off; SW3: P1 off, P2 off; SW4: P1 off, P2 off.
Jumpersettings of the HVMTR: J5 not populated, J9 populated.
Maybe to add, both ontrolCards are working fine when I load a program to blink a LED or drive a ePWM directly using Simulink Embedded Coder to generate Code and CCS 6.1.
Can somebody help me straighten out these Problems? I'm trying to work my way up from hardware to software to find possible mistakes. Thanks in advance.
Kind Regads
Martin Rupp