| Electronic Components Datasheet Search |
|
PT2000 Datasheet(PDF) 64 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PT2000 Datasheet(HTML) 64 Page - NXP Semiconductors |
|
64 / 148 page ![]() NXP Semiconductors 64 PT2000 7.4.2 SPI configuration The whole SPI configuration can be done while the device is using the internal backup clock reference. The device registers are not locked after device reset. • Check if device is accessible via the SPI • Check if the device is accessible via the SPI by reading the ID/REV register • Init the main configuration registers • Init the main configuration registers including the Clock Prescaler, Flag pin setup,… • If the application uses the internal VCCP regulator to supply the pre-drivers, this regulator must be switched on now • Set code width • If the microcode transmits using one single SPI burst, it is mandatory to write the code width register of each channel used • If the microcode is transmitted using multiple bursts which include information about the number of words, the code width register can also be written • The code width must be set before setting the pre_flash_enable bit, because the checksum calculation information is required • Download microcode • Download microcode via the SPI for each channel used • Set the CRC32 checksum • Set the checksum_l/h register (32-bit) of each channel used • Init diagnostics configuration registers • Init I/O configuration registers • Init channel configuration registers • Init DRAM values for the first time • Depending on the application and the microcode, it could be required to set up DRAM parameters of the channels used • Set the lock bit in the device_lock register (optional) 7.4.3 Clock monitor, flash enable, and DrvEn • Check if the device is running on an external reference clock • It is recommended to verify the device is running on the external clock reference. This can be checked by reading a bit in the driver_status SPI register • If the device is running on the backup clk, it is possible to switch the clock manager to external reference via a SPI command • This is only mandatory if the external clock reference is not available in time and the device is running on the backup oscillator’s clock • The clock manager is forced to try to switch back to the external reference by a SPI write to a dedicated bit • SPI transfers have to be avoided when switching the clock reference. The SPI module is in reset as long as there is no valid clock • Do not switch the clock reference while the first checksum calculation is running • Set the pre_flash_enable bit • Set the pre_flash_enable bit of the used channel(s) • This bit “freezes” the CRAM and enables the signature unit to perform the CRC32 check for the first time • After the signature unit has finished the first CRC32 check successfully, it sets the flash_enable bit to start the microcore(s) of the used channel(s) • The microcode should check for the flash_enable bit with a timeout ensuring the microcores are running • Activate the DrvEn signal • Depending on the application and the microcode, it could be required to activate the DrvEn signal if deactivated 7.5 BIST The device has a built-in self test (BIST) for the memory (MBIST for CRAM and DRAM) and for the logic core (LBIST). The BIST can be started by the SPI (see Table 170, Bist_interface in write mode (1BDh)). A full LBIST check of the device digital core and MBIST check of the device memories can be required accessing the BIST_register in Write mode and writing a 16-bit password. This request is accepted only if all three CRAMs are unlocked. It is recommended to run MBIST and LBIST during the initialization phase, since the DRAM and CRAM are erased during BIST. After this request is performed, the LBIST and MBIST check starts and its evolution can be monitored accessing the same BIST_register in read mode. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |