??? 08/23/04 14:10 Read: times |
#76285 - SPI rate with Atmel X2 chips |
hi,
does somebody here have worked hardware which utilizes SPI with Atmel X2 chips (i.e. RB2/RC2/RD2/ED2/IC2/ID2 etc)? Could you look with scope at the master clock and report its speed, please? The problem is that I am confused with that datasheets say and Keil simulator shows. For example, I have setup next configuration: - OSC = 18.432MHz; - X2 mode is ON; - SPIX2 bit is cleared (so SPI clock divider 1/6 is used instead of 1/12); SPR[2..0] = FPER/2 (maximum SPI rate) Now my calculations based on datasheet says that SPI rate should be 1.536Mbit/s (18.432/6/2); but Keil simulator shows 9.216Mbit/s (18.432/2). My first idea was that Keil just ignores SPIX2 settings but when I set bit SPIX2 (switch to divider 1/12) then it shows 4.608Mbit/s. As result I see that simulator uses divider 1/1 or 1/2 instead 1/6 or 1/12. As for now, I dont know either simulator or datasheet provide wrong information. Could somebody check real rate of SPI with such devices and report it here, please? Thanks, Oleg |
Topic | Author | Date |
SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips | 01/01/70 00:00 | |
RE: SPI rate with Atmel X2 chips![]() | 01/01/70 00:00 |