Analog Modulator

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

What does the following instruction do? 

   

 

   

AMD_CR0|=0x4;

   

 

   

I looked this up in TRM but couldnt arrive at a conclusion. This instruction has something to do with enabling the comparator's o/p bus ? 

   

 

   

Please clarify,

   

RAM

0 Likes
5 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

From the TRM -

   

 

   

   

 

   

Regards, Dana

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

0 Likes
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I give up, attached -

0 Likes
Anonymous
Not applicable

AMD_CR0 selects the modulation input for Type C SC Blocks. 

       

This instruction - AMD_CR0 |= 0x04 will set the modulation input source to Analog Column Comparator 0 (given that AMD_CR0 is initially 0). Please see in the image which Dana attached to know about bit fields of this register.  

   

 

   

You can also refer AN2041 for details of SC Blocks - http://www.cypress.com/?rID=2899

0 Likes