PU2CLR Si4735 Arduino Library  1.1.9
Arduino Library for Si47XX Devices - By Ricardo Lima Caratti
Host and slave MCU setup

Functions

void SI4735::setMaxDelayPowerUp (uint16_t ms)
 Set the Max Delay Power Up. More...
 
void SI4735::reset (void)
 Reset the SI473X
More...
 
void SI4735::waitToSend (void)
 Wait for the si473x is ready (Clear to Send (CTS) status bit have to be 1).
More...
 
void SI4735::setPowerUp (uint8_t CTSIEN, uint8_t GPO2OEN, uint8_t PATCH, uint8_t XOSCEN, uint8_t FUNC, uint8_t OPMODE)
 Set the Power Up parameters for si473X. More...
 
void SI4735::radioPowerUp (void)
 Powerup the Si47XX. More...
 
void SI4735::analogPowerUp (void)
 You have to call setPowerUp method before. More...
 
void SI4735::powerDown (void)
 Moves the device from powerup to powerdown mode. More...
 

Detailed Description

Function Documentation

◆ setMaxDelayPowerUp()

void SI4735::setMaxDelayPowerUp ( uint16_t  ms)
inline

Set the Max Delay Power Up.

Sets the delay needed in ms after a powerup command (default is 10ms).

Some external crystal might need more time to become stable (500 ms is the recommended).

Low values make the load SSB patch faster. However, it can make the system unstable.

See also
MAX_DELAY_AFTER_POWERUP
Parameters
msdelay in ms

◆ reset()

void SI4735::reset ( void  )

Reset the SI473X

See also
Si47XX PROGRAMMING GUIDE; AN332;

References SI4735::setHardwareAudioMute().

Referenced by SI4735::getDeviceI2CAddress(), SI4735::setup(), and SI4735::ssbSetup().

◆ waitToSend()

◆ setPowerUp()

void SI4735::setPowerUp ( uint8_t  CTSIEN,
uint8_t  GPO2OEN,
uint8_t  PATCH,
uint8_t  XOSCEN,
uint8_t  FUNC,
uint8_t  OPMODE 
)

Set the Power Up parameters for si473X.

Use this method to chenge the defaul behavior of the Si473X. Use it before PowerUp()

See also
Si47XX PROGRAMMING GUIDE; AN332; pages 65 and 129
Parameters
uint8_tCTSIEN sets Interrupt anabled or disabled (1 = anabled and 0 = disabled )
uint8_tGPO2OEN sets GP02 Si473X pin enabled (1 = anabled and 0 = disabled )
uint8_tPATCH Used for firmware patch updates. Use it always 0 here.
uint8_tXOSCEN sets external Crystal enabled or disabled
uint8_tFUNC sets the receiver function have to be used [0 = FM Receive; 1 = AM (LW/MW/SW) and SSB (if SSB patch apllied)]
uint8_tOPMODE set the kind of audio mode you want to use.

◆ radioPowerUp()

void SI4735::radioPowerUp ( void  )

Powerup the Si47XX.

Before call this function call the setPowerUp to set up the parameters.

Parameters you have to set up with setPowerUp

Parameter Description
CTSIEN Interrupt anabled or disabled
GPO2OEN GPO2 Output Enable or disabled
PATCH Boot normally or patch
XOSCEN Use external crystal oscillator
FUNC defaultFunction = 0 = FM Receive; 1 = AM (LW/MW/SW) Receiver
OPMODE SI473X_ANALOG_AUDIO (B00000101) or SI473X_DIGITAL_AUDIO (B00001011)
See also
setMaxDelaySetFrequency()
MAX_DELAY_AFTER_POWERUP
SI4735::setPowerUp()
Si47XX PROGRAMMING GUIDE; AN332; pages 64, 129

References SI4735::setHardwareAudioMute(), and SI4735::waitToSend().

Referenced by SI4735::analogPowerUp(), SI4735::setAM(), SI4735::setFM(), SI4735::setSSB(), and SI4735::setup().

◆ analogPowerUp()

void SI4735::analogPowerUp ( void  )

You have to call setPowerUp method before.

This function is still available only for legacy reasons. If you are using this function, please, replace it by radioPowerup().

Deprecated:
Use radioPowerUp instead.
See also
SI4735::setPowerUp()
Si47XX PROGRAMMING GUIDE; AN332; pages 64, 129

References SI4735::radioPowerUp().

◆ powerDown()

void SI4735::powerDown ( void  )

Moves the device from powerup to powerdown mode.

After Power Down command, only the Power Up command is accepted.

See also
Si47XX PROGRAMMING GUIDE; AN332; pages 67, 132
radioPowerUp()

References SI4735::setHardwareAudioMute(), and SI4735::waitToSend().

Referenced by SI4735::queryLibraryId(), SI4735::setAM(), and SI4735::setFM().