Do you have a question about the FT900 and is the answer not in the manual?
Questions and answers
Summary of Contents for Bridgetek FT900
Page 1
This document provides details about the peripherals of the FT900 as well as the general system registers. Use of Bridgetek devices in life support and/or safety applications is entirely at the user’s risk, and the user agrees to defend, indemnify and hold Bridgetek harmless from any and all damages, claims, suits or expense resulting from such use.
Clearance No.: BRT#081 1 Introduction FT900 is a programmable System-on-Chip device with a 12132-bit general purpose embedded microprocessor core and a plethora of connectivity options. It has been developed for high speed, data bridging tasks. With a parallel data capture interface, 10/100 Base-TX Ethernet interface, CAN bus, and USB 2.0 Hi-Speed peripheral and host ports, this device offers excellent interconnect...
2 FT900 System Architecture 2.1 Architecture Overview The FT900 core contains the 32-bit CPU (FT32), with control logic, flash memory and RAM. The flash memory size is 256 KB. The RAM consists of 256 KB shadow program memory and 64 KB data memory.
Interrupt vector 32 (NMI) 0x8C Program entry point Table 2.1 - FT900 Program Memory Organization 2.3 FT900 Boot Control Upon reset, boot control takes control of the memory buses and puts the CPU in a reset state. It automatically transfers the data from the flash memory to the CPU program memory, starting from address 0 on both sides.
FT900 bootloader. The protocol used for debugging is the GDB remote protocol and a port of GDB is available in the Bridgetek FT9XX Toolchain. The GDB serial debug protocol commands are interpreted by a debug interpreter in the bootloader.
This section lists the I/O map for registers / memory in the device. Please note that some peripherals are not available on some models in the FT900 series. The details can be found in the table below. An (X) indicates that the peripheral exists and a minus (-) indicates that the peripheral is not available.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 4 Notations These notations are used in the register descriptions: Terms Description Reserved Do not read/write the location Read-only Read-only / Clear-when-read Read- and Write-able...
Document Reference No.: BRT_000131 Clearance No.: BRT#081 5 General System Registers This section describes the registers that govern the general behavior of the FT900. 5.1 Register Summary Listed below are the registers with their offset from the base address (0x10000). All registers can be accessed via Byte (8-bit), Word (16-bit) or Double-Word (32-bit) mode.
LSBs (XXXX) shows the revision of the chip. Table 5.2 - CHIPID - Chip ID Register For revision 0001 of the FT900 series, the pre-configured bits of the chip ID register (CHIPID) and the chip configuration register (EFCFG, section 5.2.2) for different models are listed in in the table...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value If set, FLASH write/erase to bytes 196608 – FLASH_WR_B3_ENA 262143 is allowed; otherwise, it is permanently non-writable/non-erasable. If set, FLASH write/erase to bytes 131072 –...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 5.2.4 PMCFG - Power Management Register (address offset: 0x0C) Default Name Type Description Value 31:26 Reserved PM_GPIO_IRQ_PEND RW1C GPIO interrupt during system shut down with clock not running...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value this bit will force the PM to check for host connection activities regardless. Normally USB device activity detection is performed only when required; setting...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 5.2.7 MSC0CFG - Miscellaneous Configuration Register (address offset: 0x18) Default Name Type Description Value PERI_SOFTRESET RWAC Write 1 to cause soft reset to all peripherals. It is automatically cleared.
Page 28
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value for EHCI to complete its reset (~200ms). HOST_RESET_EHCI RWAC Write 1 to cause USB Host EHCI reset; it is automatically cleared immediately.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 5.2.10 GPIO Value Registers (address offset: 0x84 – 0x8F) These registers contain the values for the GPIO pins. Each register contains the value of 32 digital pins except the last register, which only contains the value of 3 pins (64 to 66).
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 5.2.12 Interrupt Pending Registers (address offset: 0x9C – 0xA7) These registers hold the interrupt pending flags for the GPIO pins. Each register holds the flags for 32 digital pins except the last register, which only holds the flags for 3 pins (64 to 66).
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Type Default Value Description 6: Channel 5 selected 7: Channel 6 selected Write 1 to start DAC 0 conversion. When DAC_CONT1 is not set, this bit...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value conversion in the DAC 0 FIFO. The FIFO contains at most DAC_DATA_COUNT0 samples for conversion Table 5.50 - DAC_ADC_CNT - ADC/DAC Count Register 5.2.17 DAC_ADC_DATA - ADC/DAC Data Register (address offset: 0xB8)
The interrupt controller takes in 32 interrupts, and based on the interrupt priorities assigned generates the interrupt to the FT900 together with an ISR address. Nested interrupts are allowed if enabled. By default, it is disabled. Up to 16 levels of nesting is allowed which defaults to only 1 level if nesting is enabled.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 7 EFUSE 7.1 Introduction The EFUSE is the only way to modify the content of the Chip Configuration Register. There are 64 bits in the EFUSE, in which the lower 32 bits correspond to the 32 bits in the register.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Description Each bit corresponds 16kB of FLASH location, with bit 0 referring to locations 0-16383. When set the data residing in the said FLASH locations are not...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 8 USB Host This is a single -port USB host controller which is compliant with the USB 2.0 specification and compatible with the Enhanced Host Controller Interface (EHCI) specification. It supports HS/FS/LS transactions, control/bulk/interrupt/isochronous transfers and split-transaction of the hub.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 0x74 HC_RSRV2 Reserved 2 Register 0x00000000 Section 8.4.5 Table 8.1 - Overview of USB Host Controller Registers 8.2 EHCI Operational Registers 8.2.1 HC Capability Register (address offset: 0x00) This register has information on the host controller interface specification number implemented in this host controller.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value When this bit is set to 1, the system software can specify and use a smaller frame list and configure the host controller via Frame List Size field of the USBCMD register.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value This controls whether the host controller skips the processing of asynchronous schedule. 0: Do not process the asynchronous schedule 1: Use the ASYNCLISTADDR register to access...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Type Default Value Description Interrupt on Async Advance INT_OAA RW1C 1’b0 This bit indicates the assertion of interrupt on Async Advance Doorbell Host System Error...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value controller will issue an interrupt at the next interrupt threshold. USB Error Interrupt Enable When this is 1 and the USBERRINT bit in the USBERR_INT_EN 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 the next asynchronous queue head to be executed. These form the upper 27 bits of the address. Reserved Table 8.10 - ASYNCLISTADDR – HC Current Asynchronous List Address Register 8.2.10 PORTSC –...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Type Default Value Description controller will unconditionally set this to 0 when: The software sets Force Port Resume bit to 0 (from 1) The software sets Port Reset bit to 1 (from 0) Note: Before setting this bit, Run/Stop bit should be set to 0.
Page 55
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value draws the minimal power from the power supplies. This is part of the power management. EOF 2 Timing Points Control EOF2 timing point before next SOF.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value Asynchronous Schedule Sleep Timer Controls the Asynchronous Schedule sleep timer. 5 us ASYN_SCH_SLPT 2’h1 10 us 15 us 20 us Table 8.12 - EOF Time &...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 8.4 USB Host Testing Registers 8.4.1 Vendor Specific IO Control Register (address offset: 0x54) Name Type Default Value Description 31:6 Reserved Vendor-Specific Test Mode Control Load This controls the active low output U_VCTLOAD_N to the PHY.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 9 USB Peripheral This is a USB device controller fully compliant with the USB 2.0 specification. It supports a control end point - End Point 0 (EP0) - and up to 7 other End Points (EP1-7).
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 USB function enables. Setting this to 1 USB_DEV_EN 1’b0 enables the USB device Table 9.3 - DC_MODE – Mode Register 9.2.3 DC_INT_ENABLE – Interrupt Enable Register (address offset: 0x08) This register enables the different interrupt sources by writing a 1 to the corresponding bit.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value Reserved Indicates the number of data bytes received. BUF_LEN 7’h00 Valid only if OUT_PKT_RDY is 1. Table 9.8 - DC_EP0_BUFFER_LENGTH – Endpoint 0 Buffer Length Register 9.3.4 DC_EP0_BUFFER –...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Endpoint Mode. This parameter has to be fixed during the Set Configuration request. 0x0: EP disabled EP_MODE 2’h0 0x1: EP configured for bulk transfers 0x2: EP configured for interrupt transfers 0x3: EP configured for isochronous transfers Endpoint Direction.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value Software can clear this bit by writing a 1 to this bit. IN packet ready. Valid only when the Endpoint direction is IN.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 9.5 General Registers 9.5.1 DC_INT_STATUS – Interrupt Status Register (address offset: 0x00) This register indicates that the hardware condition of the corresponding interrupt has occurred.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 10 Ethernet This is a MAC core that conforms to the IEEE 802.3-2002 specification with the following features: • Supports 10BASE-T and 100BASE-TX/FX modes •...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Type Default Value Description Write a 1 to clear the status flag. Set when an error on RX has been encountered. This occurs when the RXER...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 shorter than the minimum frame size 0: padding will not be appended to frames shorter than the minimum frame size 1: enable transmitter TX_ENABLE 1’b0 0: disable transmitter Table 10.6 - ETH_TX_CNTL –...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Reserved This bit should be updated together with the START bit. WRITE 1’b0 1: perform write transaction 0: perform read transaction Setting this bit to 1 will initiate the START 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 10.2.21 ETH_MNG_RX0 – Management Receive Data 0 Register (address offset: 0x14) Default Name Type Description Value This is the lower byte of a word of data read RX_LSB 8’h00...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 11 CAN Bus Controller Two CAN bus controllers are supported by this device. The controllers have the following features. • Conforms to Bosch CAN 2.0B specification •...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 11.1 Register Summary Listed below are the registers with their offset from the base addresses (0x10240 for CAN1 and 0X10260 for CAN2). All registers and buffer locations can only be accessed via Byte (8-bit) mode.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 11.2.4 CAN_INT_STATUS – Interrupt Status Register (address offset: 0x03) Name Type Default Value Description Reserved Arbitration Lost Interrupt Set when the CAN core has lost arbitration...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 1: bus level is sampled three times (recommended for low/medium speed buses where there is a benefit from filtering spikes) Number of clock cycles per Time Segment 2 TIM_SEG2 3’h0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 11.2.9.3 CAN_TX_BUF_2 – Transmit Buffer 2 Register (address offset: 0x0A) Default Name Type Description Value This is used to write a CAN frame for transmission. When write is performed on...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 11.2.10.3 CAN_RX_BUF_2 – Receive Buffer 2 Register (address offset: 0x0E) Default Name Type Description Value This is used to read a received CAN frame. When read is performed on CAN_RX_BUF_3, DATA 8’h00...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Single Filter Configuration: In single filter configuration, one long filter can be defined (four bytes). If a standard frame message is received, the complete identifier including RTR bit and the first two data bytes (if received) are used for acceptance filtering.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 11.2.11.7 CAN_ACC_MASK_2 – Acceptance Mask 2 Register (address offset: 0x16) Default Name Type Description Value This register determines which bits in CAN_ACC_CODE_2 is used for the acceptance filter.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 11.2.14 CAN_TX_ERR_CNTR – Transmit Error Counter Register (address offset: 0x1A) Name Type Default Value Description This is the low-byte of the current transmit error counter as the width of the transmit error counter is 9-bit.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 12 SD Host The device supports a SD Host with the following features. • Supports PIO data transfers • Supports configurable SD bus modes: 4-bit mode and 8-bit mode •...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 12.2.5 SDH_TNSFER_MODE – Transfer Mode Register (address offset: 0x0C) The host driver should set this register before issuing the data transfer command or resume command. When in the SDIO transfer, the values of this register should be preserved after the suspend command and should be restored before the resume command.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value CCCR CMD52 for writing Suspend Bus Suspend in CCCR Normal Other commands Data Present Select 1: indicates that data is present and...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 12.2.9 SDH_PRESENT_STATE – Present State Register (address offset: 0x24) The host driver can access the status from this read-only register. Default Name Type Description Value...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value (2) After getting the CRC status of any block where data transmission is stopped by SP_BLK_GAP. A BLK_GAP_EVT interrupt will be generated when SP_BLK_GAP is set to 1 and this bit changes to 0.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 12.2.10 SDH_HST_CNTL_1 – Host Control 1 Register (address offset: 0x28) Name Type Default Value Description Card Detect Signal Selection CD_SEL 1’b0 1: The test level for the card detection...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 1: Stop at block gap request; the host controller will stop at the block gap by using READ_WAIT or stop IO_SD_CLK in a read SP_BLK_GAP 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value 31:27 Reserved SOFT_RST_DAT RWAC 1’b0 1: Software reset for data line SOFT_RST_CMD RWAC 1’b0 1: Software reset for command line...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value Reserved RW1C 1’b0 Write 0 to this bit AUTO_CMD12_ERR RW1C 1’b0 Auto CMD12 error CUR_LIM_ERR RW1C 1’b0 Current limit error...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value 15:8 Reserved Command not executed by Auto CMD_NO_EX_BY_CMD12 1’b0 CMD12 error Reserved AUTO_CMD_IDX_ERR 1’b0 Auto CMD index error AUTO_CMD_END_BIT_ERR 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 12.2.29 SDH_FORCE_EVT_ERR_INT_STATUS – Force Event for Error Interrupt Status Register (address offset: 0x52) The Force Event register is not a physical register. It is an address to which the error interrupt status register can be written.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 10: Driver type C is selected 01: Driver type A is selected 00: Driver type B is selected 13:11 Reserved Clock Generator Select Value The version does not support the CLK_GEN_SEL 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 V signalling bus speed modes. This field is meaningless for the 3.3-V signalling. 11: Driver type D is selected 10: Driver type C is selected...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 00: Driver type B is selected 13:11 Reserved Clock Generator Select Value The version does not support the CLK_GEN_SEL 1’b0 programmable clock generator and is...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Clock Generator Select Value The version does not support the CLK_GEN_SEL 1’b0 programmable clock generator and is fixed to SDCLK Frequency Select Value The 10-bit pre-set value for setting the SDCLK_FREQ_SEL SDCLK Frequency Select in the Clock Control.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 …. 0x01: Latch value at the 1 0x00: Latch value at SCLK edge Reserved 1: Use the pulse latching function for the read P_LAT_EN 1’b1 data and response.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Type Default Value Description decryption. Change Endianness In this mode, the endianness of the encrypted data will be changed before CH_ENDIAN 1’b0 being written to the TX FIFO.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 12.2.55 SDH_CPR_MOD_STATUS – Cipher Mode Status Register (address offset: 0x184) Name Type Default Value Description 31:1 Reserved Cipher is ready When this bit is set to 1, reading 0x19C...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 13.2 UART MODE SELECTION The operation of the UART depends on a number of standard mode settings. These modes are referred to throughout this section. The compatibility modes are tabulated below.
Page 122
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 650 Mode The 650 mode is active when EFR[4] is set (enhanced mode is enabled). As 650 software drivers usually put the device into enhanced mode, running 650 drivers on the UART device will result in 650 compatibilities with 128 deep FIFO’s, as long as FCR[0] is set.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Interrupt Function UART_INT_S TATUS [5:0] INT TYPE INT Source Level set in 9-bit mode 100000 CTS or RTS change of state When CTS or RTS bits will change Table 13.9 - Interrupt Status Register Software Handling...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 RCVR FIFO TRIGGER LEVEL Fcr[7:6] Standard FIFO*mode (16 B) Extended FIFO*mode*(128B) Table 13.11 - UART_RCVR - FIFO Trigger Level – 550 mode * ‐ depends on Ext FIFO enable (FCR(5)) bit value In this mode the transmitter trigger level is equal to 1.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value 0: parity disabled Number of STOP bits 0: 1 Stop bit generated STOP_BITS 1’h0 1: 1.5 stop bits generated for 5 data bits or 2 STOP...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 0: the OUT1 output is forced to a logic 1 Request to send 1’h0 1: the RTS output is forced to a logic 0 0: the RTS output is forced to a logic 1 Data Terminal Ready 1’h0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value parity bit is detected as a logic 0 bit (Spacing level). 0: whenever the CPU reads the contents of the Line Status Register.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value is equivalent to DTR in the Modem Control Register. Clear to Send This bit is the complement of the Clear to Send (CTS) input.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 In‐band transmit flow control mode 00: Disable in‐band flow control 01: Enable single character in‐band transmit flow control. Recognizing XON2 as the XON character IBT_FCM 1’h0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 13.5 950 COMPATIBLE REGISTERS To access these registers ACR[7] must be set to 1. 13.5.1 UART_ASR - Additional Status Register (address offset: 0x01) Name Type...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Note: Reading from this register requires that last value written to LCR was not 0xBF and ACR[7]=1 13.5.4 UART_ICR - ICR Register (address offset: 0x05)
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Last value written to LCR≠0xBF SPR ⇐ ‘0x00’ Enable access ACR[6]⇐’1’ ICR[6] ⇐ ‘1’ SPR ⇐ address value ⇐ ICR Read from another Indexed Control Register SPR ⇐...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 13.6.1 UART_ACR - Additional Control Register (SPR offset: 0x00) Default Name Type Description Value Additional status enable ADL_STS_EN 1’h0 1: ASR, TFL and RFL are enabled...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 10: The baud rate generator output is selected for the receiver clock (internal BAUD_OUT connection) 11: The transmitter clock is selected for the receiver clock Table 13.32 - UART_CKS Clock Select Register...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 level and FCH stores the upper trigger level. Both registers are able to store level values from 0 to 127. Name Type Default Value Description...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 13.6.14 UART_NMR - Nine Bit Mode Register (SPR offset: 0x0D) To enable 9‐bit data mode NMR[0] bit must be logic 0. In this mode data are nine bits wide, and the 9‐th bit is stored in LSR[2] for receiving.
Clearance No.: BRT#081 14 Timers and Watchdog FT900 consists of a 32-bit watchdog timer and four 16-bit users’ timers. The watchdog timer is clocked off the main clock. The watchdog can be initialized with a 5-bit register. The value of this register points to a bit of the 32-bit counter which will be set. A timer decrements and signals an interrupt when it rolls over.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Current value can be read from TIMER_READ_LS and TIMER_READ_MS registers. Write into stop_x bit in TIMER_CONTROL_1 register to stop the timer. Table 14.1 - Timers/Watchdog Operation 14.1 Register Summary...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 15 I2S The I2S interface supports both Master and Slave modes. The formats supported are I2S, Left Justified and Right Justified. In the Master mode, 2 clock sources are to be provided externally. One is 24.576MHz and the other 22.5792MHz.
64fs 24.576MHz 128fs Table 15.1 - Oversampling rates supported by FT900 I2S In this mode (i.e., Master mode), the number of BCLK cycles per channel per sampling cycle can only be either 16 or 32. The table shows the supported bit length with the number of BCLK per sampling cycle in the Master mode.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 maximum frequency of BCLK is 12.288MHz regardless of the sampling frequency and bit length. 15.1 Register Summary Listed below are the registers with their offset from the base address (0x10350). All registers can only be accessed via Word (16-bit) mode.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 1: Use 22.5792MHz input as the reference clock. 0: Use 24.576MHz input as the reference clock. BCLK 1’b0 1: Invert the polarity of BCLK. Polarity LRCLK Out 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 16 SPI Master There is a SPI Master module in the device. Listed below are the key features of this SPI master: • Full duplex synchronous serial data transfer •...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Default Name Type Description Value SPI in IDLE state with TX FIFO or THR register THRE 1’b0 empty 0: Transmission is in progress Transmitter Empty TX_EMPTY 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Type Default Value Description Write 1 to TX FIFO and its logic; The shift register TX_RST 1’b0 is not affected; This bit will clear itself Write 1 to RX FIFO and its logic;...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 17 SPI Slaves There are two independent SPI slaves in the device. Listed below are the key features of the SPI slaves: • Full duplex synchronous serial data transfer •...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Slave Select Control Enable 1: auto SS assertions enabled SSC_EN 1’b0 0: auto SS assertions disabled – SS always shows contents of Slave Select Control Register Table 17.3 - SPIS_STATUS –...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 17.2.6 SPIS_TNSFR_FRMT_CNTL – Transfer Format Control Register (address offset: 0x14) Default Name Type Description Value 1: Enable FIFO extension and allow 16 bits data FIFO_EXT 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 18 I2C Master The I2C Master conforms to v2.1 and v3.0 of the I2C specification. Listed below are the key features supported by the I2C master: •...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 18.2 Register Details 18.2.1 I2CM_SLV_ADDR – Slave Address Register (address offset: 0x00) Default Name Type Description Value SLV_ADDR 7’h00 This is 7-bit address bits 0: next operation is a transmission RX_OP 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 18.2.3 I2CM_STATUS – Status Register (address offset: 0x01) Default Name Type Description Value Reserved 1: indicates the Bus is Busy, and access is not possible.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 18.2.6 I2CM_HS_TIME_PERIOD – High Speed Timer Period Register (address offset: 0x03) Default Name Type Description Value TIME_ENB 1’b0 Set to use this register. Set to indicate to the Bus controller to use FAST FAST 1’b0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 19 I2C Slave The I2C Slave conforms to v2.1 and v3.0 of the I2C specification. Listed below are the key features supported by the I2C slave: •...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 19.2 Register Details 19.2.1 I2CS_OWN_ADDR – Own Address Register (address offset: 0x00) Default Name Type Description Value Reserved OWN_ADDR 7’h00 This is the seven address bits of the Slave controller.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Name Type Default Value Description 1: indicates that the Master has ended the transmit operation. It means no more RX_REQ will REC_FIN 1’b0 during this...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 20 RTC This is a Real Time Clock (RTC) running off a dedicated 32.768 kHz oscillator. It is powered by the internal 1.2V regulator. 20.1 Register Summary Listed below are the registers with their offset from the base address (0x10280).
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 20.2.3 RTC_CLR - Counter Load Register (address offset: 0x08) Default Name Type Description Value Loaded in the counter as the loaded value, which is 31:0 DATA 32’h0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 20.2.7 RTC_EOI - End of Interrupt Register (address offset: 0x18) Default Name Type Description Value 31:1 Reserved By reading this location, the match interrupt is RTC_EOI 1’h0...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 21 PWM The device supports 7 separate independent PWM channels. All channels share an 8-bit prescaler to scale the system clock frequency to the desired channels.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 21.2.36 PWM_SAMPLE_FREQ_L - PWM Data Sampling Frequency Low Byte Register (address offset: 0x23) Default Name Type Description Value PWM_SAMPLE_FREQ_L 8’h22 PWM Data Sampling Frequency Low Byte Table 21.37 - PWM_SAMPLE_FREQ_L - PWM Data Sampling Frequency Low Byte Register...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 22 Data Capture Interface There is an 8-bit parallel interface to collect byte streaming data from a sensor peripheral - e.g. a camera module - in a 2Kbyte internal FIFO. The interface will provide a clock to the peripheral at a speed of 25MHz (max).
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 22.2.2 DCAP_REG2 – Data Capture Interface Register 2 (address offset: 0x04) Default Name Type Description Value 31:12 Reserved Specifies the number of bytes that can be safely read...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 23 Flash Controller There are two ways to access the memory control unit. One is via the CPU I/O interface and the other via the one-wire debugger interface. The CPU I/O interface is described here.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 23.2.4 FSADDR0 – Flash Start Address Register (LSB) (address offset: 0x03) Default Name Type Description Value LSB of the start address of flash location to perform...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Note 1: When the flash is the destination (write case), the byte length must be a multiple of 256 bytes (1 page of flash entry). There is no such restriction on byte length if the flash is the source (read case).
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 23.2.13 STATUS – Status Register (address offset: 0x0D) Default Name Type Description Value Reserved 1: The control unit is busy. This means no other command should be issued.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 23.2.17 CHIPID1 – Chip ID Register (Byte 1) (address offset: 0x7D) Default Name Type Description Value Byte 1 of the 32-bit chip ID, only accessible via the 0xXX one-wire debugger.
Page 191
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Command Code Description The Write Enable (WREN) instruction is for setting the Write Enable Latch (WEL) bit. Those instructions such as PP, SE, CMDWREN 0x06...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Command Code Description The Serial Flash Discoverable Parameter (SFDP) standard provides a consistent method of describing the functional and feature capabilities of serial flash devices in a...
Page 193
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Command Code Description be multiples of 256 bytes. Data to be transferred will be in DRWDATA. Similar to CMDDBG2F1 except at the end of the transfer, a CPU reset...
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Command Code Description The start address of the Data Memory destination will be dictated by RSADDRx which must be 32-bit aligned. The start address of the Flash Memory destination will be dictated by FSADDRx which must be 256-byte aligned.
Bridgetek. Use of Bridgetek devices in life support and/or safety applications is entirely at the user’s risk, and the user agrees to defend, indemnify and hold harmless Bridgetek from any and all damages, claims, suits or expense resulting from such use.
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Appendix A – References Document References N.A. Acronyms and Abbreviations Terms Description Analogue to Digital Converter Battery Charger Detection Controller Area Network CPRM Content Protection for Recordable Media...
Page 197
Application Note AN_324 FT900 User Manual Version 1.3 Document Reference No.: BRT_000131 Clearance No.: BRT#081 Terms Description Used in Ethernet as the “Station Management Controller” UART Universal Asynchronous Receiver Transmitter Universal Serial Bus USB-IF USB Implementers Forum Product Page Document Feedback...
List of Tables Table 2.1 - FT900 Program Memory Organization ..............16 Table 3.1 - Peripheral Availability on FT900 Series Models ............18 Table 3.2 - Register Map for FT900 Series ................18 Table 4.1 - Notations used in Register Description ..............19 Table 5.1 - Overview of General System Registers ..............
Need help?
Do you have a question about the FT900 and is the answer not in the manual?
Questions and answers