nRF5 action!
-
All the bluetooth sketches that I've heard of so far boil down to a bluetooth node communicating with your smartphone. That's great, and I'm glad for that, but it seems more like a wireless GUI than the internet of things.
@NeverDie Here is a repo from Seeed showing master and slave comms.
https://github.com/Seeed-Studio/Bluetooth_Shield_Demo_Code/tree/master/examples
Oh and it looks like Kris posted his dev board on ohw.io
https://forum.mysensors.org/topic/7160/nrf52-development-board -
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
So, what's the smallest nRF52 module that also includes a 32Khz crystal? I think I might want to standardize as much as possible on a single module rather than juggle a bunch of different ones.
What do you think about creating an table with known modules including integrated hardware, available ports and size?
I think, most small modules comes without 32kHz crystal. This is mostly an option. Maybe for the 9x9mm module. But I think the antenna is no good choice for indoor usage.
I have a lot of RedBear BLE Nano 2 (18x21mm) modules. It's complete including 32Khz crystal and a 3-13V voltage converter. With 2.54mm pins it's easy to solder.
I have asked the manufacturer(cdebyte) of the nice nRF24 and nRF52 modules if it's possible to build an module including the nRF52, an RGB LED, an button and 5V protected inputs with the layout like the popular nRF24 modules plus two optional pins (6/8 IO Ports!). I think such type of nRF52 module makes it easy to migrate to 32 Bit using existing boards or build new boards.
@d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:
I have a lot of RedBear BLE Nano 2 (18x21mm) modules. It's complete including 32Khz crystal and a 3-13V voltage converter. With 2.54mm pins it's easy to solder.
Sounds like a good way to get started, as well as build quick prototypes.
-
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
hanks! I had been using a computer running Windows 7, and I got no joy with Zadig and st-link v2 on that. However, you just now mentioned Windows 10, so I'll give that a try.
I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter. Firmware and drivers are open source and there is an integrated serial port.
The ST-Link adapter is initialized with an ST-Link driver by libwdi. If you have luck you can find an old variant.
@d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:
I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter. Firmware and drivers are open source and there is an integrated serial port.
Is this how to wire up a CMSIS-DAP to the nRF52832?

i.e. it's the same as a j-tag wiring setup, except that you add the serial Rx and Tx lines?
-
Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.
-
@d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:
I think the best option for beginners is to use an CMSIS-DAP/DAPLink adapter. Firmware and drivers are open source and there is an integrated serial port.
Is this how to wire up a CMSIS-DAP to the nRF52832?

i.e. it's the same as a j-tag wiring setup, except that you add the serial Rx and Tx lines?
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Is this how to wire up a CMSIS-DAP to the nRF52832?
You have to wire SWCLK and SWDIO. In a note of RedBear BLE Nano 2 i have seen, you require DAPLink >1.5 for nRF52832 support. Rx+Tx is not required for programming.
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.
You should see an storage device and an serial device. The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration
-
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Is this how to wire up a CMSIS-DAP to the nRF52832?
You have to wire SWCLK and SWDIO. In a note of RedBear BLE Nano 2 i have seen, you require DAPLink >1.5 for nRF52832 support. Rx+Tx is not required for programming.
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.
You should see an storage device and an serial device. The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration
@d00616 said in Minimalist SAMD21 TQFP32 Pro Mini:
The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration
Unfortunately, when I try installing that, it says, "The driver could not be installed. No mbed Micronctrollers were found."
-
Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.
That sucks a lot. Try searching for the hardware id you see in windows, maybe you can find some other drivers from other vendors.
-
Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
This opens some new possibilities if used as MySensors actuator !
https://www.youtube.com/watch?v=SBHyQ1OSM-4 -
Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
This opens some new possibilities if used as MySensors actuator !
https://www.youtube.com/watch?v=SBHyQ1OSM-4@Nca78 said in Minimalist SAMD21 TQFP32 Pro Mini:
Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
Yes. There are people working with it. Please read the discussion at github. There are watches with non nordic chips.
https://github.com/sandeepmistry/arduino-nRF5/issues/165
There are a lot of other hardware like the Noke Lock
Or the iStubb 2 with integrated stop up converter (maybe inductor + software) which works with 0.9V.
-
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Is this how to wire up a CMSIS-DAP to the nRF52832?
You have to wire SWCLK and SWDIO. In a note of RedBear BLE Nano 2 i have seen, you require DAPLink >1.5 for nRF52832 support. Rx+Tx is not required for programming.
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Well, this is bordering on ridiculous. I received the CMSIS-DAP from Adafruit, but there is no windows driver for it. Furthermore, the company that made it (armstart) has apparently gone out of business.
You should see an storage device and an serial device. The serial device windows driver is available at https://developer.mbed.org/handbook/Windows-serial-configuration
@d00616
Fortunately, I just received the J-link segger from aliexpress. When I plug it in, Windows seems to immediately recognize it. However, the problem is that the Arduino IDE doesn't seem to recognize it: it doesn't show up in the IDE port list under the tools menu.I've tried installing each of the Zadig usb drivers, in turn, with no difference.
I tried installing the mbed usb windows driver, but it fails with the same error message as before.
I also tried downloading the segger software pack and installing it. Still fails.
Frustrating!
-
@d00616
Fortunately, I just received the J-link segger from aliexpress. When I plug it in, Windows seems to immediately recognize it. However, the problem is that the Arduino IDE doesn't seem to recognize it: it doesn't show up in the IDE port list under the tools menu.I've tried installing each of the Zadig usb drivers, in turn, with no difference.
I tried installing the mbed usb windows driver, but it fails with the same error message as before.
I also tried downloading the segger software pack and installing it. Still fails.
Frustrating!
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
I've tried installing each of the Zadig usb drivers, in turn, with no difference.
You have to remove the J-Link software completely. With my old j-link I had to install the J-Link software for Firmwareupdate. After that I removed the J-Link Software and all drivers via "device manager" (module plugged in) and reinstalled the correct driver with zadig (plugin module after starting zadig).
-
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
I've tried installing each of the Zadig usb drivers, in turn, with no difference.
You have to remove the J-Link software completely. With my old j-link I had to install the J-Link software for Firmwareupdate. After that I removed the J-Link Software and all drivers via "device manager" (module plugged in) and reinstalled the correct driver with zadig (plugin module after starting zadig).
-
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
OK, I'll try that. Which of those 4 Zadig usb drivers should I pick?
Open the windows device manager and pull/plug the device and remove all depending drivers with option to uninstall the drivers.
-
@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
OK, I'll try that. Which of those 4 Zadig usb drivers should I pick?
Open the windows device manager and pull/plug the device and remove all depending drivers with option to uninstall the drivers.
-
Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
This opens some new possibilities if used as MySensors actuator !
https://www.youtube.com/watch?v=SBHyQ1OSM-4@Nca78 said in Minimalist SAMD21 TQFP32 Pro Mini:
Has anyone noticed that a bunch of cheap Chinese "smart bands" use a nrf51822 ?
This opens some new possibilities if used as MySensors actuator !
https://www.youtube.com/watch?v=SBHyQ1OSM-4 -
next nice board with NRF 52832
-
@d00616
Right. But after that, which of the four do I re-install from Zadig? Or, am I misunderstanding?@NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:
Right. But after that, which of the four do I re-install from Zadig? Or, am I misunderstanding?
The CDC and BULK interface. All other are other Hardware.
-
FWIW, I ran across another example of where someone is using the DK to program an external nRF5 board:

(https://github.com/electronut/ElectronutLabs-bluey/blob/master/nRF52-DK-prog.md)
Unfortunately, that photo is also roughly the extent of their documentation, though they do spell out the pin mapping and tell which Linux commands to use. -
FWIW, I ran across another example of where someone is using the DK to program an external nRF5 board:

(https://github.com/electronut/ElectronutLabs-bluey/blob/master/nRF52-DK-prog.md)
Unfortunately, that photo is also roughly the extent of their documentation, though they do spell out the pin mapping and tell which Linux commands to use.I tried wiring it up as shown in the photos to the Adafruit nRF52832 and doing a programming through the DK and the Arduino IDE, but as you would expect it just programmed the nRF52832 that's on the DK and not the Adafruit. So, either there's a jumper that needs to be set, or different software is required to program an off-board nRF52832.