Simple Serial communication problem in Simulink
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
Hello
I'm having a problem with Serial communication in Simulink. I'm using C2000 development kit, my goal is to make a host-side monitor, where I can change value of EPWM1A online, while connected to my target. I'm using Host SCI Transmit block in host-side monitor mdl file and C280x/C2833x SCI Recieve block in main mdl window, where also my ePWM block is located. The data that are transmited from constant to SCI Transmit block are type: single and I recieve the same type of data out of SCI Recieve block (SCI module A). When uploading the program to target I use Bulid model button in main mdl window, after code is uploaded to target I hit start simulation in host-side monitor, but nothing happens with EPWM1A it's dead. I think there might be a problem with Serial communication since EPWM1A is working fine without host-side monitor. In SCI transmit block I'm using COM2 as my communication port, since my USB, that connects target with PC is connected to COM2 in device manager.
What could be the problem here???
Regards Leon
0 Commenti
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
