Hi, I am looking into PCA21125.
I have performed static validation for my code, and I have a question for RF bit.
I used RF bit as a condition for causing an error in application. However, I would like to know the exact information for its behavior.
My understanding is this:
First of all, the detailed explanation below, it says the first start-up (VDD off to ON)...
1) The oscillator is considered to be stopped. => it means the situation is deemed as a reset condition and set RF bit? It leads to the conclusion that RF bit is always set after VDD off to on situation.
2) During the chip in reset at the moment VDD off to on, should the data (time) from SPI be ignored as its data can be invalid?
Thank you.
Sincerely
Solved! Go to Solution.
Hi Jonggeun,
1) VDD Off to On condition set RF bit.
[A] Yes, this is correct. When the power supply is connected to the VDD it takes some time, till the oscillator starts.
2) To exclude RF bit set by VDD Off to On situation, is it the only way to clear RF bit? (such as, clear RF bit once after 2 seconds)
[A] Yes, the RF bit is set a start up and you need to clear it.
With Best Regards,
Jozef
Thank you for your clear explanation.
I would like to make sure.
1) VDD Off to On condition set RF bit.
2) To exclude RF bit set by VDD Off to On situation, is it the only way to clear RF bit? (such as, clear RF bit once after 2 seconds)
Hi Jonggeun,
1) VDD Off to On condition set RF bit.
[A] Yes, this is correct. When the power supply is connected to the VDD it takes some time, till the oscillator starts.
2) To exclude RF bit set by VDD Off to On situation, is it the only way to clear RF bit? (such as, clear RF bit once after 2 seconds)
[A] Yes, the RF bit is set a start up and you need to clear it.
With Best Regards,
Jozef
Hello,
I am facing issue while clearing this RF bit . please refer the below code, after writing I am reading the data by sending Read command but it is giving me value as 0x80(i.e RF bit is SET)
Configurations :
Data width : 8
Transfer start : MSB
Baudrate : 1000000(testing purpose)
Code :
Cdd_Rtc_Spi_TxBuff[2] = {0,0}
Cdd_Rtc_Spi_RxBuff[2] = {0,0}
READ_CMD = 0x90
WRITE_CMD = 0x10
Hi Jonggeun,
1) The oscillator is considered to be stopped. => it means the situation is deemed as a reset condition and set RF bit? It leads to the conclusion that RF bit is always set after VDD off to on situation.
[A] Yes, this is correct. Whenever there is no power supply in the VDD pin, the oscillator is not working, but this is not only condition. Even when there is power supply on the VDD pin, the oscillator can be stopped.
2) During the chip in reset at the moment VDD off to on, should the data (time) from SPI be ignored as its data can be invalid?
[A] Yes. Please check the STOP bit. You can start to read the time after the STOP bit is released.
With Best Regards,
Jozef