Page 1
In traditional smoke detector RF applications, as well as a master MCU, an additional RF IC is also required. With this in mind, Holtek has designed the BA45F56xx series of MCUs, which include an integrated smoke detector AFE as well as a Sub-1GHz RF Transceiver, allowing designers to develop related products using a minimum of external components.
BA45F56xx Wireless Transceiver Application ISINK0/1 provide a constant infrared emission current, A0PI and A0NI process the infrared received signal ISINK0/1 constant current output is adjustable Two sets of ISINK for use by different types of smoke – white/black smoke ...
Page 3
BA45F56xx Wireless Transceiver Application Sub-1GHz RF Transceiver supports 3-wire and 4-wire SPI interfaces. The 3-wire SPI only requires CSN, SCK and SDIO while the 4-wire SPI requires CSN, SCK, SDIO and SDO. The pin-shared function settings are shown in Table 1. The pull-up control for the RF Transceiver communication pins are shown in Table 2.
Page 4
BA45F56xx Wireless Transceiver Application Step 3. Setup the GIO pins: Use the SPI interface to set the GIOxS internal registers. For the setup values, refer to the datasheet. In most cases, GIO1 will be setup as the TX/RX data output/input, GIO2 as the interrupt output and GIO3 as the transmit data bit clock.
Page 5
BA45F56xx Wireless Transceiver Application Power Down Power On Deep Sleep Deep Sleep Idle Deep Light Calibration Idle Calibrations Sleep Sleep enabled Auto (calibration completed) Idle Light Sleep OM[1:0]=01b (RX) OM[1:0]=00b OM[1:0]=11b (TX) (wait~35μs) OM[2:0]=000b OM[2:0]=000b Standby OM[2]=1 OM[2]=1 Figure 3. Direct Mode State Diagram FIFO Mode The device will automatically load the default values after RF power on after which it will enter the Deep Sleep Mode.
Page 6
BA45F56xx Wireless Transceiver Application Step 8. Wait for data transmit/receive operation to complete: Determine whether T/RXCMPIF is 1. Step 9. Read the FIFO data: Use the SPI command RX FIFO Read Command (0x91) to read the received data from the FIFO. If data is to be transmitted do not execute this step. For the TX and RX related timing diagram refer to the datasheet.
Page 7
BA45F56xx Wireless Transceiver Application Program Example Description This program example utilises the function library to execute the TX/RX inter transmission function. The FIFO Mode is selected as the transmission mode for which the operation flowchart is shown in Figure 7. For TEST_SNIFF_RX, it is a continuous RX mode. The difference between the continuous RX mode and the general RX mode is that when the receiving process has completed, the RX mode should be started again ready for following use.
BA45F56xx Wireless Transceiver Application Operating Flowchart Power on MCU initialisation Write SYNCWORD Call RF_Init Write the data to be Modify TX power Modify TX power transmitted (Default 433.92MHz) (Default 10dBm) Mode selection RF_Mode=? Timed receiving data Transmitting data mode Receiving data mode mode TEST_TX TEST_RX...
BA45F56xx Wireless Transceiver Application Function Description Name RF_Init RF initialisation, FSK data rate is 50kbps, power is 10dBm, after the program has Function completed, the RF will enter the Sleep Mode Input Output Name RF_EntryRxMode Function After the program has executed, the RF will enter the RX Mode Input Output Name...
Page 10
BA45F56xx Wireless Transceiver Application Name RFXtalReady After the program has executed, the RF will wait for the crystal to start oscillating and then Function jump out of the function until the crystal is stable Input Output Name RFCalibration After the program has executed, the RF will start the automatic calibration function and jump Function out of the function until the calibration has completed Input...
Page 11
BA45F56xx Wireless Transceiver Application 315MHz 433MHz 470MHz 868MHz Unit N.C. N.C. N.C. N.C. N.C. N.C. — Table 3. RF Impedance Matching Component Values Antenna Type Selection A commercially available 50Ω SMA connector Dipole or Patch can be used as shown in Figure 9. Figure 9.
Page 12
BA45F56xx Wireless Transceiver Application Routing Tracks with right angles will cause impedance discontinuities which can accumulate charge with resulting discharge effects. As this can affect the PCB stability, 45 degree angles or arcs should be used. The distance between adjacent tracks should not be less than 6 mils. ...
Reference Material Reference Document: BA45F56xx Datasheet. For more details consult the Holtek website at www.holtek.com. Versions and Modification Information Date Author Issue Release 2020.08.05...
Information displayed at such sites. Hyperlinks to other websites are at your own risk. Limitation of Liability In no event shall Holtek Limited be liable to any other party for any loss or damage whatsoever or howsoever caused directly or indirectly in connection with your access to or use of this website, the content thereon or any goods, materials or services.
Need help?
Do you have a question about the BA45F56 Series and is the answer not in the manual?
Questions and answers