Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Jan Waclawek
04/24/13 22:36
Read: 1066 times
Bratislava
Slovakia


 
#189699 - after each count I sent to the DAC it would it would examine
Responding to: Robert Bowen's previous message
Robert Bowen said:
In my ASM code, this worked fine. I would issue CMD1() and in the middle of the RAMP I would send CMD2() which would set a bit that CMD1() would read and then HOLD. (Basically, after each count I sent to the DAC it would examine if the bit was set.) If it was SET it would hold HOLD.

Then you should've literally translated the asm code into C. This:
Robert Bowen said:
void CMD1(void)
{
   for loop to ramp ....
}
 

doesn't look like "after each count ... examine if the bit was set".

JW

List of 4 messages in thread
TopicAuthorDate
UART C vs ASM - Interrupts      Robert Bowen      04/24/13 14:48      
   after each count I sent to the DAC it would it would examine      Jan Waclawek      04/24/13 22:36      
   How I would think of it      Oliver Sedlacek      04/25/13 02:48      
      UART C vs ASM - Interrupts      Robert Bowen      04/25/13 05:26      

Back to Subject List