Member | Action | Date |
---|---|---|
|
Replied
to
VDD Supply Monitor
In my case I have two 47uF caps running the EFM8SB2x plus a Si4463 transceiver. I am sure if the transceiver is in an active mode, I won't get much time. I will play with this a bit and test.
Thank you, |
Nov 07 2017, 9:10 PM |
|
Posted
VDD Supply Monitor on
Forum
I am using a EFM8SB20F32G.
I am working on setting up 'Brown Out Detection' (VDD Supply Monitor). Looks pretty straight forward, but I also noticed in the data sheet, that there is a 'Early Warning' (Vwarn) flag and a 'Reset Trigger' (Vvddm) flag. The early warning level is a bit sooner than the reset level.
Has anyone tried using this early warning flag, to save a value from Ram (Volatile) into a Non-Volatile location (like flash)? My guess seeing that the early warning Min level is 1.8v and Reset Trigger Max is 1.8v is that there may not be enough time. I am also not sure if it would be dangerous to do this memory write with power dropping off to unsafe levels.
Thoughts?
|
Nov 07 2017, 9:10 PM |
|
Replied
to
Content Assist Enums
Strange. I didn't realize they are different. I am working on two projects (One is for a 8bit micro the other is for a 32bit micro). I have the same issue no matter what processor I am working with.
|
Oct 28 2017, 4:37 PM |
|
Posted
Content Assist Enums on
Forum
In Simplicity Studio the 'Content Assist' functionality seems to not work at all for Enums. For example:
If I have a struct, and I use Content Assist, it works great.
But if I have a typedef enum and try to use the Content Assist...... It does not give me what is available for that enum...
Is there anyway to fix this? This is one of the main reasons that I love using enums all over the place, is it forces me to use the values I want to have available.
Thank you, |
Oct 28 2017, 4:37 PM |
|
Posted
Si446x Antenna Diversity on
Forum
I am currently using a Si446x device. I have implemented antenna diversity, and using an oscilloscope on the antenna diversity GPIO pin from the Si446x I can see it working great.
Now I am trying to save what antenna was used when the message was received. I try to do this by checking the GPIO pin after a message has been received, but it seems like I miss it, since it returns the same value every time (even though I can see it use a different antenna using the oscilliscope). Is there a way to latch the antenna that was used?
I do set my Si446x to stay in RX mode (without re-arming) in order to grab the latched RSSI of the packet received.
Thank you, |
Oct 28 2017, 2:27 PM |
|
Posted
WDS Bug on
Forum
I believe there is a small bug in WDS that I have ran into. In the Radio Configuration Application I set the RSSi average over 4bits, but the header files sets it to 2bits.
Here is what I set in WDS
And here is the header file produced by WDS
Also, note that "MODEM_RSSI_COMP" is set two different times.
Thank you,
|
Oct 28 2017, 2:28 PM |
|
Posted
Si446x Frequency Hopping on
Forum
I am working on implementing Automatic Frequency Hopping on the Si4463. I have a few questions:
1) There are for different settings for the automatic frequency hopping. Anyone have any recommendations on one they would recommend for the highest range. I will be using 50 channels.
2) I see a TX_HOP command in the API but it does not accept any parameters. Does this mean it will pull the frequency to hop to from the rx hopping table? If not, does that mean that I need to keep a table of the frequencies in my MCU as well in order to implement the tx frequency hopping?
3) Anyone have a recommendation of a psudo random frequency hopping table generator?
Thank you, |
Oct 28 2017, 2:26 PM |
|
Replied
to
Si446x Frequency Hopping
What I meant here is that the RX_THRESH (Group: 0x10, Index 0x01,) is set to 0x0B. Then the RX_PREAMBLE_TIMEOUT (Group: 0x10, Index 0x03) is set to 0x0f.
I have tried setting the RX_PREAMBLE_TIMEOUT down to 0x0A (10nibbles) but did not see a difference in packet reception.
I made my frequencies much further apart to try and avoid the third possible issue you stated above, and still have seen no difference.
Is there anything special I need to do when entering RX state for Auto Hopping?
Thank you, |
Oct 28 2017, 1:31 PM |
|
Posted
Si446x Frequency Hopping on
Forum
I am using a Si4463 transceiver, and am trying to implement automatic RX frequency hopping. It seems that my packet reception goes from 100% great without using any hopping to about 70% when using it.
I plan on eventually using auto frequency hopping using both the Preamble_Timeout event and RSSI_Threshold event ("HOP_RSSI_PM_TO"). But to simplify testing I am currently only using the Preamble Timeout event.
I also plan on eventually using 50 hopping channels, but again to simplify testing I am currently using 2.
I can currently send packets from one device to the other, changing between the two frequencies, and can verify that I am receiving packets on both frequencies.
I can't see any pattern to the dropped packets but it does happen quite frequently.
My current settings are:
Tx-Preamble: 0x20 bytes Rx-Preamble Length: 0x0B nibbles Rx-Preamble Timeout: 0x0f nibbles
Thank you,
|
Oct 28 2017, 1:31 PM |
|
Posted
Lock Flash Writes on
Forum
I am using an EFM32LG230 micro-controller. I have built drivers for writing to and reading from the flash (user page and program sections). I would like to make sure that my functions can't access any of the code unless I have passed the proper unlock code into the function. Trying to make the device fairly safe from corrupting data if I get into a unknown state.
Reading the datasheet the lock page seems pretty understandable, but it does look like everything is unlocked (for writing) by default. How would I be able to make sure the lock bytes are setup by default to lock out unwanted writes?
The only way I can think of is, to modify my HEX file manually every time I decide to build my code?
Thank you, |
Oct 28 2017, 1:19 PM |