Forums

About ADSP 2181 Software UART (bug fixed)

Started by Jaime Andres Aranguren Cardona July 9, 2001

Hi, people.

There is a small bug fix to the software UART I sent to some of you. In the UART.asm file change

 // Enable and set up SPORT1 as FI and FO pin
 ax0 = b#0000100000000000;
 ay0 = Sys_Crtl_Reg;
 ar = ax0 or ay0;     // Enable SPORT1
 
 ay0 = b#1111101111111111;
 ar = ar and ay0;     // Set up SPORT1 as FI/O

for

 // Enable and set up SPORT1 as FI and FO pin
 ax0 = b#0000100000000000;
 ay0 = dm(Sys_Crtl_Reg);
 ar = ax0 or ay0;     // Enable SPORT1
 
 ay0 = b#1111101111111111;
 ar = ar and ay0;     // Set up SPORT1 as FI/O
 dm(Sys_Ctrl_Reg) = ar;

In order to effectively change the "Sys_Ctrl_Reg" as desired

MfG (Mit freundlichen Grse),



Jaime Andr Aranguren Cardona
j...@ieee.org
jaime.arangure...@computer.org