Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. nRF5 action!

nRF5 action!

Scheduled Pinned Locked Moved My Project
1.9k Posts 49 Posters 630.9k Views 44 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JokgiJ Jokgi

    @Jokgi The only datasheet I have states that it is confidential. Therefore I cannot share it. However if you contact Skyworks they may be able to get you a copy. At the time I received it one needed to fill out a form on RF Axis site and then the file would be sent. Are there any particular parameters you are interested in?

    NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #1177

    @Jokgi

    Just which pins on the nRF52832 are connected to which control pins on the RF Front End. I just now checked with a continuity meter, and it looks like none of them are. So, it would appear that I'll need to wire the pin connections external to the PCB, which is weird, but maybe that's just how it is.

    JokgiJ 1 Reply Last reply
    0
    • scalzS scalz

      I agree with @d00616 points above.
      And, sure bluetooth would be nice for interacting or debugging.

      In my opinion, maybe I'm wrong, for my network, I would prefer MySensors NRF ESB, in general.

      • "more secure" than bluetooth. "harder" to access Mysensors ESB than bluetooth for example, plus some security issue that can happen with bluetooth, phones..
      • more devices in a network
      Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #1178

      @scalz said in nRF5 Bluetooth action!:

      In my opinion, maybe I'm wrong, for my network, I would prefer MySensors NRF ESB, in general.

      • more devices in a network

      Not with bluetooth mesh, you can have thousands of nodes ;)

      scalzS 1 Reply Last reply
      1
      • NeverDieN NeverDie

        @Jokgi

        Just which pins on the nRF52832 are connected to which control pins on the RF Front End. I just now checked with a continuity meter, and it looks like none of them are. So, it would appear that I'll need to wire the pin connections external to the PCB, which is weird, but maybe that's just how it is.

        JokgiJ Offline
        JokgiJ Offline
        Jokgi
        wrote on last edited by Jokgi
        #1179

        @NeverDie Hello, If you are referring to that Prototype Board with the Nordic logo on it then it was being controlled by GPIO and by the Bluetooth Low Energy stack (Softdevice) You can read more about it here.. https://devzone.nordicsemi.com/blogs/831/palna-support-in-s132/.
        As I mentioned before. there is no good way to control the PA in a proprietary mode, only when using BLE. Regardless, I have asked if it is ok to share the schematic that relates to that PA board and I will let you all know. And about the question about antenna switching. This was never implemented in the Softdevice. Any antenna switching would need to be done in the application.
        See if this chart helps.

        0_1508212131505_I-O for nRF52832 - RFX2411n.JPG

        NeverDieN 2 Replies Last reply
        3
        • Nca78N Nca78

          @scalz said in nRF5 Bluetooth action!:

          In my opinion, maybe I'm wrong, for my network, I would prefer MySensors NRF ESB, in general.

          • more devices in a network

          Not with bluetooth mesh, you can have thousands of nodes ;)

          scalzS Offline
          scalzS Offline
          scalz
          Hardware Contributor
          wrote on last edited by scalz
          #1180

          @Nca78 said in nRF5 Bluetooth action!:

          Not with bluetooth mesh, you can have thousands of nodes ;)

          not without some latency :)
          but I agree, I forgot this new mode :+1:
          I just prefer to keep my nodes "hidden" for security. so no BLE network for me. I will just have some restricted access to it I think..

          1 Reply Last reply
          1
          • JokgiJ Jokgi

            @NeverDie Hello, If you are referring to that Prototype Board with the Nordic logo on it then it was being controlled by GPIO and by the Bluetooth Low Energy stack (Softdevice) You can read more about it here.. https://devzone.nordicsemi.com/blogs/831/palna-support-in-s132/.
            As I mentioned before. there is no good way to control the PA in a proprietary mode, only when using BLE. Regardless, I have asked if it is ok to share the schematic that relates to that PA board and I will let you all know. And about the question about antenna switching. This was never implemented in the Softdevice. Any antenna switching would need to be done in the application.
            See if this chart helps.

            0_1508212131505_I-O for nRF52832 - RFX2411n.JPG

            NeverDieN Offline
            NeverDieN Offline
            NeverDie
            Hero Member
            wrote on last edited by
            #1181

            @Jokgi
            Thanks! Yes, those three tables are exactly what I was looking for.

            JokgiJ 1 Reply Last reply
            0
            • NeverDieN Offline
              NeverDieN Offline
              NeverDie
              Hero Member
              wrote on last edited by NeverDie
              #1182

              https://www.openhardware.io/view/489/BT830X-Power-Amplified-nRF52832-Remote-Control

              1 Reply Last reply
              0
              • NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by NeverDie
                #1183

                I just noticed a very clever thing that Fanstel did: their nRF52 modules all have the same land pattern and pinout. That means you can upgrade from a regular nRF52832 to a power amplified version, or even an NRF52840 (when they become available), by just dropping the upgrade module into the same position on the PCB. i.e. you can run all the different modules from the same PCB design. Pretty cool. I like it. :)

                mfalkviddM 1 Reply Last reply
                1
                • NeverDieN NeverDie

                  I just noticed a very clever thing that Fanstel did: their nRF52 modules all have the same land pattern and pinout. That means you can upgrade from a regular nRF52832 to a power amplified version, or even an NRF52840 (when they become available), by just dropping the upgrade module into the same position on the PCB. i.e. you can run all the different modules from the same PCB design. Pretty cool. I like it. :)

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by
                  #1184

                  @NeverDie but how will you spend all the time you save by not having to create new boards all the time? ;-)

                  NeverDieN 1 Reply Last reply
                  1
                  • mfalkviddM mfalkvidd

                    @NeverDie but how will you spend all the time you save by not having to create new boards all the time? ;-)

                    NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by
                    #1185

                    @mfalkvidd said in nRF5 Bluetooth action!:

                    @NeverDie but how will you spend all the time you save by not having to create new boards all the time? ;-)

                    Yeah, not just that, but also not having to waste all that time waiting for each new board to come back from the fab. :)

                    1 Reply Last reply
                    0
                    • NeverDieN NeverDie

                      @Jokgi
                      Do you happen to have the datasheet? The closest I've been able to find is: http://www.mouser.com/ds/2/472/rfaxis_RFX2411N Eval Board Summary and Technical N-952564.pdf
                      which isn't quite on-point, but I may have to make do with.

                      I had thought it would somehow automagically select the better antenna for receiving, but it looks like it wants me to make that selection myself. So, this may work better with longer preambles I suppose, to give enough time to measure the RSSI on each and then decide.

                      NeverDieN Offline
                      NeverDieN Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by NeverDie
                      #1186

                      @NeverDie said in nRF5 Bluetooth action!:

                      I had thought it would somehow automagically select the better antenna for receiving, but it looks like it wants me to make that selection myself. So, this may work better with longer preambles I suppose, to give enough time to measure the RSSI on each and then decide.

                      I suppose an easy solution would be to have a remote node send repeated packets, and I just program the RFAxis to toggle between its two antennas after allowing sufficient dwell time per antenna. That way it's more likely to receive at least one of the packets.

                      All in all, though, I think maybe having two separate radio receivers (since they're cheap anyway) for a gateway is probably better than having one radio receiver, with the burden on the firmware to select which antenna to receive on.

                      Any thoughts on this?

                      1 Reply Last reply
                      0
                      • NeverDieN NeverDie

                        @Jokgi
                        Thanks! Yes, those three tables are exactly what I was looking for.

                        JokgiJ Offline
                        JokgiJ Offline
                        Jokgi
                        wrote on last edited by
                        #1187

                        @NeverDie 0_1508367805179_RD-nRF52-RFX2411N-REV2.zip Hello All -- For your viewing enjoyment. The Schematic and layout files for that nRF52840 and RFX2411n board you have. (If it is version 2 which did have the big Nordic logo on it. )
                        I think you may know this already but this bears repeating. This is not a Nordic board. Nordic Semiconductor's tech support will probably not know anything about this board. Also there is a difference between the RFX2411 and the nRF2411N. (N for Nordic) It is not the same device.

                        NeverDieN 1 Reply Last reply
                        1
                        • NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #1188

                          On a different topic, regarding the Ebyte modules, I'm noticing that they are much more likely to miss a packet if being run at 2.1v than if it's being run at, say, 3.3v. I've tried this now on two different modules, and the results are repeatable. It's a preliminary result, because so far I've only tested it with respect to the "listen mode."

                          JokgiJ 1 Reply Last reply
                          0
                          • NeverDieN NeverDie

                            On a different topic, regarding the Ebyte modules, I'm noticing that they are much more likely to miss a packet if being run at 2.1v than if it's being run at, say, 3.3v. I've tried this now on two different modules, and the results are repeatable. It's a preliminary result, because so far I've only tested it with respect to the "listen mode."

                            JokgiJ Offline
                            JokgiJ Offline
                            Jokgi
                            wrote on last edited by Jokgi
                            #1189

                            @NeverDie Is this the board with a PA on it or stand alone nRF5x part? If with a PA what is the rated voltage of the device?

                            Depending on the Nordic part the nRF5x can run from 1.7 (or 1.8) to 3.6vdc. Note that the nRF51 cannot run with the DC / DC under 2vdc. The nRF52 does not have that restriction and the DC/DC can be used throughout the full voltage range..

                            NeverDieN 1 Reply Last reply
                            0
                            • JokgiJ Jokgi

                              @NeverDie Is this the board with a PA on it or stand alone nRF5x part? If with a PA what is the rated voltage of the device?

                              Depending on the Nordic part the nRF5x can run from 1.7 (or 1.8) to 3.6vdc. Note that the nRF51 cannot run with the DC / DC under 2vdc. The nRF52 does not have that restriction and the DC/DC can be used throughout the full voltage range..

                              NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by
                              #1190

                              @Jokgi said in nRF5 Bluetooth action!:

                              Is this the board with a PA on it or stand alone nRF5x part?

                              I observed it on Ebyte's E73-2G4M04S on this board: https://www.openhardware.io/view/471/Ebyte-nRF52832-Small-Breakout-Board
                              while running in DCDC mode. The E73-2G4M04 has no PA.

                              For now, I'm just reporting the finding, in case anyone else has noticed it. Also, it's a very early result. If there's no known reason to suspect the nRF52832 as a possible cause (i.e. no erratas or the like), then I'm glad to hear it.

                              1 Reply Last reply
                              0
                              • NeverDieN Offline
                                NeverDieN Offline
                                NeverDie
                                Hero Member
                                wrote on last edited by NeverDie
                                #1191

                                OK, I fixed the problem by increasing the size of the listen window by another 30 microseconds (which is the smallest granularity that the RTC offers). What this probably means is that some aspect of the wake-up process (for instance, perhaps the amount of time it takes for the high frequency oscillator to come up to speed) is taking a wee bit longer when the module is powered at the lower voltage than when it is powered at 3.3v.

                                1 Reply Last reply
                                1
                                • JokgiJ Jokgi

                                  @NeverDie Hello, If you are referring to that Prototype Board with the Nordic logo on it then it was being controlled by GPIO and by the Bluetooth Low Energy stack (Softdevice) You can read more about it here.. https://devzone.nordicsemi.com/blogs/831/palna-support-in-s132/.
                                  As I mentioned before. there is no good way to control the PA in a proprietary mode, only when using BLE. Regardless, I have asked if it is ok to share the schematic that relates to that PA board and I will let you all know. And about the question about antenna switching. This was never implemented in the Softdevice. Any antenna switching would need to be done in the application.
                                  See if this chart helps.

                                  0_1508212131505_I-O for nRF52832 - RFX2411n.JPG

                                  NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #1192

                                  @Jokgi said in nRF5 Bluetooth action!:

                                  @NeverDie Hello, If you are referring to that Prototype Board with the Nordic logo on it then it was being controlled by GPIO and by the Bluetooth Low Energy stack (Softdevice) You can read more about it here.. https://devzone.nordicsemi.com/blogs/831/palna-support-in-s132/.
                                  As I mentioned before. there is no good way to control the PA in a proprietary mode, only when using BLE. Regardless, I have asked if it is ok to share the schematic that relates to that PA board and I will let you all know. And about the question about antenna switching. This was never implemented in the Softdevice. Any antenna switching would need to be done in the application.
                                  See if this chart helps.

                                  0_1508212131505_I-O for nRF52832 - RFX2411n.JPG

                                  The only definition I've found for PDET is "Analog Voltage Proportional to the PA Power Output ." I'm not sure what that means. So, I set P0.02 to HIGH, which in this instance is 3.3v. However, I'm only getting relatively weak Tx power emitted. Is there anything else I should be doing? For instance, should I be supplying external voltage to the PDET pin directly?

                                  Here's the code I'm currently using to setup for transmission:

                                    myNrf5_pinMode(2,OUTPUT_H0H1); //PDET
                                    myNrf5_pinMode(20,OUTPUT_H0H1); //SWANT
                                    myNrf5_pinMode(24,OUTPUT_H0H1); //TXEN   
                                    myNrf5_pinMode(23,OUTPUT_H0H1); //RXEN
                                    myNrf5_pinMode(22,OUTPUT_H0H1); //MODE
                                  
                                    digitalWrite(20,HIGH);  //select one of the antenna's.
                                    digitalWrite(23,LOW);  //disable RXEN
                                    digitalWrite(24,HIGH);  //enable TXEN
                                    digitalWrite(22,LOW);  //disable MODE
                                    digitalWrite(2,HIGH);  //set the analog voltage for PDET as high as possible
                                  
                                  NeverDieN 1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    @Jokgi said in nRF5 Bluetooth action!:

                                    @NeverDie Hello, If you are referring to that Prototype Board with the Nordic logo on it then it was being controlled by GPIO and by the Bluetooth Low Energy stack (Softdevice) You can read more about it here.. https://devzone.nordicsemi.com/blogs/831/palna-support-in-s132/.
                                    As I mentioned before. there is no good way to control the PA in a proprietary mode, only when using BLE. Regardless, I have asked if it is ok to share the schematic that relates to that PA board and I will let you all know. And about the question about antenna switching. This was never implemented in the Softdevice. Any antenna switching would need to be done in the application.
                                    See if this chart helps.

                                    0_1508212131505_I-O for nRF52832 - RFX2411n.JPG

                                    The only definition I've found for PDET is "Analog Voltage Proportional to the PA Power Output ." I'm not sure what that means. So, I set P0.02 to HIGH, which in this instance is 3.3v. However, I'm only getting relatively weak Tx power emitted. Is there anything else I should be doing? For instance, should I be supplying external voltage to the PDET pin directly?

                                    Here's the code I'm currently using to setup for transmission:

                                      myNrf5_pinMode(2,OUTPUT_H0H1); //PDET
                                      myNrf5_pinMode(20,OUTPUT_H0H1); //SWANT
                                      myNrf5_pinMode(24,OUTPUT_H0H1); //TXEN   
                                      myNrf5_pinMode(23,OUTPUT_H0H1); //RXEN
                                      myNrf5_pinMode(22,OUTPUT_H0H1); //MODE
                                    
                                      digitalWrite(20,HIGH);  //select one of the antenna's.
                                      digitalWrite(23,LOW);  //disable RXEN
                                      digitalWrite(24,HIGH);  //enable TXEN
                                      digitalWrite(22,LOW);  //disable MODE
                                      digitalWrite(2,HIGH);  //set the analog voltage for PDET as high as possible
                                    
                                    NeverDieN Offline
                                    NeverDieN Offline
                                    NeverDie
                                    Hero Member
                                    wrote on last edited by
                                    #1193

                                    @NeverDie said in nRF5 Bluetooth action!:

                                    For instance, should I be supplying external voltage to the PDET pin directly?

                                    I tried that just now, and it made no difference.

                                    I also tried powering the PA_VDD pin externally at 3.3v, and that didn't help either. Does that pin expect higher voltages?

                                    1 Reply Last reply
                                    0
                                    • JokgiJ Jokgi

                                      @NeverDie 0_1508367805179_RD-nRF52-RFX2411N-REV2.zip Hello All -- For your viewing enjoyment. The Schematic and layout files for that nRF52840 and RFX2411n board you have. (If it is version 2 which did have the big Nordic logo on it. )
                                      I think you may know this already but this bears repeating. This is not a Nordic board. Nordic Semiconductor's tech support will probably not know anything about this board. Also there is a difference between the RFX2411 and the nRF2411N. (N for Nordic) It is not the same device.

                                      NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #1194

                                      @Jokgi said in nRF5 Bluetooth action!:

                                      @NeverDie 0_1508367805179_RD-nRF52-RFX2411N-REV2.zip Hello All -- For your viewing enjoyment. The Schematic and layout files for that nRF52840 and RFX2411n board you have. (If it is version 2 which did have the big Nordic logo on it. )
                                      I think you may know this already but this bears repeating. This is not a Nordic board. Nordic Semiconductor's tech support will probably not know anything about this board. Also there is a difference between the RFX2411 and the nRF2411N. (N for Nordic) It is not the same device.

                                      Just now noticed that the schematic explains PDET. It's "Optional Antenna Power Monitoring." So, I take that to mean that it's output from the board, not input to it.

                                      Also, the schematic indicates that the board has the DCDC inductors built into it, so that's good.

                                      1 Reply Last reply
                                      0
                                      • NeverDieN Offline
                                        NeverDieN Offline
                                        NeverDie
                                        Hero Member
                                        wrote on last edited by NeverDie
                                        #1195

                                        Aha! Apparently the RFaxis defaults not to the trace antenna on the board, but rather to the external, connected antenna. So, I hooked that up, and now it's working like a champ. I can now safely say that it definitely has a much better range than a non-PA nRF52832 module. And, of course, I'm running it at 2mbps. :)

                                        The other nice thing is that even if I transmit continuously (i.e. 100% duty Tx cycle), the chips don't get hot. I'm impressed. I tried doing that with a LoRa module once, and it got too hot to even touch.

                                        It will be fun to check the range when there's a PA+LNA nRF52832 on both ends of the link.

                                        1 Reply Last reply
                                        0
                                        • NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by
                                          #1196

                                          And here it is:
                                          0_1508440744687_RFaxis3.jpg

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          15

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular