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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/16/03 08:40
Read: times


 
#50782 - RE: FX2 baudrate
Responding to: ???'s previous message
Ah Pai didn't look at your code, but I remembered that Cypress EZ-USB FX2 has the 24MHz crystal that you mentioned, but it has also a multiplier to run the FX2 at frequencies up to 48MHz (12MHz, 24MHz and 48MHz). So even if the crystal is 24MHz the FX2 might run at 12MHz. If you take a look at the technical manual of the FX2 mcu, you 'll see that the responsible bits for setting the frequency are bits 3 and 4 of the CPUCS (CPU Control and Status) SFR register. At power-on-reset, these bits default to 00 (12 MHz).
So your code may be correct, but you haven't checked the frequency.

List of 9 messages in thread
TopicAuthorDate
FX2 baudrate            01/01/70 00:00      
   RE: FX2 baudrate            01/01/70 00:00      
      RE: FX2 baudrate            01/01/70 00:00      
         RE: FX2 baudrate            01/01/70 00:00      
      RE: FX2 baudrate            01/01/70 00:00      
         RE: FX2 baudrate            01/01/70 00:00      
            RE: FX2 baudrate            01/01/70 00:00      
               RE: FX2 baudrate            01/01/70 00:00      
                  RE: FX2 baudrate            01/01/70 00:00      

Back to Subject List