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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/31/07 13:32
Read: times


 
#131791 - smiling
Responding to: ???'s previous message
I'll use an 8255 [smile]
even in that case I suggest you get the HW SPI and HW IIC straight whatever else you do, I know a few functions that are only available in that style and, probably, you will run into them one day, not to metion that more keep coming.

as to HW IIC there is (for everything including the SILabs derivatives, excluding the SILabs deviates) the very best and most complete information in the NXP p89C66x datasheet and again in the LPC93x user manual http://www.standardics.nxp.com/support/d...lpc936.pdf.
I have used this information for other brands, and it seems that but for the clock setup this is pretty standard (which, of course, made SILabs deviate from it).

Additionally the CodeArchitect software free from http://www.esacademy.com gives you working basic code for the IIC, SPI and UART standard intefaces.

Erik

List of 48 messages in thread
TopicAuthorDate
Interfacing AT89C51ED2 to MAX6957 via SPI            01/01/70 00:00      
   a quick look            01/01/70 00:00      
      A bit hidden I know...            01/01/70 00:00      
   just a hint...            01/01/70 00:00      
      Thanks Jan            01/01/70 00:00      
      I know this is an Atmel chip, but            01/01/70 00:00      
         not that type of error            01/01/70 00:00      
   Light at the end of the tunnel...            01/01/70 00:00      
      Some scope traces...            01/01/70 00:00      
         CPOL = 0, CPHA = 0            01/01/70 00:00      
            Excellent.            01/01/70 00:00      
               What is the current problem?            01/01/70 00:00      
                  Thanks            01/01/70 00:00      
                     Next time...            01/01/70 00:00      
                        smiling            01/01/70 00:00      
                     this is what I was about to ask...            01/01/70 00:00      
                        a simple SPI 'test'            01/01/70 00:00      
                        MISO            01/01/70 00:00      
                           have you tried            01/01/70 00:00      
                              Good plan            01/01/70 00:00      
                                 Eureka            01/01/70 00:00      
                                    That's good...            01/01/70 00:00      
                                       true SPI and non-SPI driven by SPI            01/01/70 00:00      
                                          TRUE SPI chip?            01/01/70 00:00      
                                             OK            01/01/70 00:00      
                                    good choice            01/01/70 00:00      
                                       I used such...            01/01/70 00:00      
                                    Full code for reference if anyone's interested            01/01/70 00:00      
                           where did you measure?            01/01/70 00:00      
                           soldering iron...            01/01/70 00:00      
                              proto and prod            01/01/70 00:00      
                                 ah so...            01/01/70 00:00      
                                    HUH            01/01/70 00:00      
                                       now I really don\'t understand            01/01/70 00:00      
                                          well, let me try again            01/01/70 00:00      
                                             Oh I see...            01/01/70 00:00      
                                                try asking the person that does my layouts            01/01/70 00:00      
                                                Layout tool?            01/01/70 00:00      
                                                   tool... yes maybe, but for X1/X2???            01/01/70 00:00      
                                                      Just curious...            01/01/70 00:00      
                                                         huh...            01/01/70 00:00      
                                                   DXP            01/01/70 00:00      
                                                      Let's move to chat? (off-topic)            01/01/70 00:00      
                        The problem lies on MAX6957            01/01/70 00:00      
   I am happy for you            01/01/70 00:00      
      Thanks Erik            01/01/70 00:00      
      waitaminute...            01/01/70 00:00      
         comments            01/01/70 00:00      

Back to Subject List