background image

                  

BA45F56xx Wireless Transceiver Application

 

 

AN0571EN V1.00 

14 / 14 

November 5, 2020 

Disclaimer 

All information, trademarks, logos, graphics, videos, audio clips, links and other items appearing 
on this website ('Information') are for reference only and is subject to change at any time without 
prior notice and at the discretion of Holtek Semiconductor Inc. and its related companies 
(hereinafter 'Holtek', 'the company', 'us', 'we' or 'our'). Whilst Holtek  endeavors to ensure the 
accuracy of the Information on this website, no express or implied warranty is given by Holtek to 
the accuracy of the Information. Holtek shall bear no responsibility for any incorrectness or leakage. 

Holtek shall not be liable for any damages (including but not limited to computer virus, system 
problems or data loss) whatsoever arising in using or in connection with the use of this website by 
any party. There may be links in this area, which allow you to visit the websites of other companies. 
These websites are not controlled by Holtek. Holtek will bear no responsibility and no guarantee to 
whatsoever 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. 

Governing Law 

This disclaimer is subjected to the laws of the Republic of China and under the jurisdiction of the 
Court of the Republic of China. 

Update of Disclaimer 

Holtek reserves the right to update the Disclaimer at any time with or without prior notice, all 
changes are effective immediately upon posting to the website. 

Содержание BA45F56 Series

Страница 1: ...esigners to develop related products using a minimum of external components This application note introduces the BA45F56xx series of MCUs which includes an explanation of the Sub 1GHz RF Transceiver control flow and programming examples For smoke detector AFE instructions refer to the Holtek application note AN0540EN BA45F5xxx Smoke Detector Integrated Analog Front End Application Notes Function D...

Страница 2: ...tenna RF reception Antenna Low noise amplifier Intermediate frequency IF Intermediate frequency composite band pass filter Signal strength detector Digital packet demodulator Operating Principles Communication Pin Description NC NC CLDO GIO4 NC PA0 SCK SCL ICPDA OCDSDA SDIO PA2 SDI SDA RX ICPCK OCDSCK PB0 INT0 SCS STP A0PB A0PI A0NI PA5 STCK A1O XO V_XO EXTLP EXTLN V_SX V_DIG PB3 PLRX SDI SDA RX G...

Страница 3: ...GIO4S 3 0 0001 Table 1 Communication Pin Settings Register Name Description SPIPU 3 wire SPI pull up control 0 Disable output 1 Enable input GIOPU 4 1 GIO pin function pull up control control the pull up function of the GIO4 GIO1 pins respectively 0 Disable output 1 Enable input Table 2 Communication Pin Pull up Control Wireless Transmission Modes There are two main wireless transmission modes in ...

Страница 4: ...EN 1 and automatic calibration function ACAL_EN After the automatic calibration process has completed about 300μs then start the transmit and receive function RTX_EN 1 Step 8 Output read data Finally the GIOx determined by the setup value can be used to transmit or receive data Here it should be noted that after transmitting or receiving the preamble synchronisation characters and trailer the corr...

Страница 5: ...uency D_N D_K modulation parameter FSCALE data rate DTR etc For parameter setting details refer to the datasheet Step 2 Setup the synchronisation characters Program the TXPMLEN and RXPMLEN registers to setup the length of the preamble signal to be transmitted or received Use the SPI command to write the SYNCWORD Command 0x10 Step 3 Setup the data format Program the PKT1 PKT9 registers Step 4 Setup...

Страница 6: ...y oscillator which will effectively reduce the wake up time The following modes must be executed using the process sequence of this state switching diagram For example after entering the Idle Mode it is necessary to return to the Light Sleep Mode after which jump to the Standby Mode and then execute the TX or RX program Power Down Power On Deep Sleep Light Sleep Standby TX RX Idle Calibrations Lig...

Страница 7: ...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 The continuous RX mode will automatically receive subsequent packets until the software transmits the Light Sleep command to stop reception For the RF_MODE users can select TEST_IT...

Страница 8: ...SendData to transmit data Wait IRQ signal Call RFGetClrRFIrq to query RF State Call RF_EntryRxMode to enter RX receiving mode Wait IRQ signal Call RFGetClrRFIrq to query RF state Call RF_ReadRxDta to read data Call RF_EntrySniffMode Wait IRQ signal When mRFRdDta 0 is high the transmit process is completed According mRFRdDta to determine whether the receive process is completed and the data is corr...

Страница 9: ...ion Input Output Name RF_SendData Function After the program has executed the RF will enter the TX Mode and transmit the data in the mRFBuf After transmitting the RF will enter the Light Sleep Mode Input RF data mRFBuf 0 18 Output Name RF_ReadRxData Function After the program has executed the RF data will be read from FIFO and stored in the mRFBuf variable Input RF data mRFBuf 0 18 Output Name RFG...

Страница 10: ...rogram has executed the data in mRFAddr is set as the RF register address and the read data will be stored in mRFRdDta Input Register Address mRFAddr Output Register Data mRFRdDta Name RFWriteRegCmd Function After the program has executed the data in mRFAddr is taken as the RF register address and the mRFRdDta data is written into the RF register Input Register Address mRFAddr Register Data mRFWrD...

Страница 11: ...ly available 50Ω SMA connector Dipole or Patch can be used as shown in Figure 9 Figure 9 Dipole Antenna Or a λ 4 length single core copper stranded wire can be used as shown in Figure 10 Figure 10 Spring Antenna If it is required to etch an antenna directly onto the circuit board refer to the notes in the next chapter PCB Layout Note Component Placement When locating components priority should be ...

Страница 12: ...g the device power pins The ground plane must be as complete as possible under the device It is important not to have any tracks under the device and matching circuits otherwise the RF performance may be affected Refer to Figure 11 Figure 11 Recommended Poured Ground Diagram VSS should be directly connected to the back ground plane of the device during the layout stage If space permits it is recom...

Страница 13: ...area with the exception of the matching circuit components avoid placing other components nearby to avoid affecting the RF performance Conclusion This application note has introduced the BA45F56xx architecture and application description and has provided a program example for users allowing it to be used quickly by users in practical applications to increase product stability Reference Material Re...

Страница 14: ...atsoever arising in using or in connection with the use of this website by any party There may be links in this area which allow you to visit the websites of other companies These websites are not controlled by Holtek Holtek will bear no responsibility and no guarantee to whatsoever Information displayed at such sites Hyperlinks to other websites are at your own risk Limitation of Liability In no ...

Отзывы: