-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Raytac's MDBT40 module (nRF51) #280
Comments
Not directly... You would need to take the generic device and modify it to match the MDBT40 pin out. |
Here's a spec on the MDBT40. I've been trying to modify the generic device, and I'll really like some guidance on the purpose of the fields in the variant.h and variant.cpp files of a board definition.
Sorry for all the questions! |
From an Arduino pin to a Nordic pin.
Yes, NUM_DIGITAL_PINS is the number of broken out digital pins. PINS_COUNT is the total pins.
I'm not sure what the advantage of having a separate variant from the generic is for a module. Variants are more intended for developer boards. |
I think more and more users are coming across this project and are looking for out of the box support for mass produced nRF modules they can get off the internet. As long as the community wants to submit new variants to the project, I see no reason not to start supporting more prebuilt modules as it's not too terrible of an administrative burden. I also see this as an opportunity to get more help from the community to update the project to a later revision of the Nordic SDK and ARM compiler. |
MDBT40 isn't really a development board. It was in the bluetooth module that came with a Chinese robotic arm I was tinkering with called an XYZ Robotics 6 DOF robotic arm kit. The configuration I used was only different from the generic in the TX and RX pin numbers and everything else was apparently not important. I was able to successfully program it, with your help, so thank you. I just wanted to contribute something in return. If you don't want the maintenance burden, that's ok. Perhaps I'll leave just the relevant files in my forked repo (is that normal around here?) I seriously doubt I'll be of any help with the Nordic SDK migration, sorry. |
@dlabun maybe the modules can just be a
@nhnifong got it, in this case a specific variant for the robotic arm would make sense. However, as @dlabun mentioned there is value for having a variant for the module too. |
@dlabun regarding #302 (comment), what do you think about my comment above? For #297, I think we can remove the
to
The selected UART pins in the variant are a bit specific to the "XYZ Robotics 6 DOF robotic arm kit" in my opinion. Then some how also enable the If you are happy with the way #297 is for the v0.6.0 release, we can merge it as is. |
@sandeepmistry I'm honestly unable to make up my mind on this one... We have other boards like the hackaBLE and RedBear Nano that are essentially just breakout boards for these very same Raytac modules. Part of me says stay with status quo, merge it and push out v0.6 while another part says now is the time to draw the line between generic modules and dev boards with hard-fast pin assignments. Do you want me push out v0.6 and hold this PR for further debate? |
Should have read the PR first.... Since changes are required I am going to hold it out of v0.6 regardless of this conversation. |
Sounds good.
The RedBear Nano has some (suggested) pin outs in it's docs: I must admit I didn't carefully look at the hackaBLE entry at the time, the tindie store images don't clearly specify any specific UART, SPI or I2C pins like the Nano: https://www.tindie.com/products/ElectronutLabs/hackable-tiny-nrf52832-ble-development-board/ |
Update: I've found some pin out docs for the hackaBLE here: https://github.com/electronut/ElectronutLabs-bluey#pin-mapping |
Your second post is for the Bluey, not the hackaBLE... But anyways, that line between generic module and dev board is getting more difficult all the time. |
Good catch, I followed some links from the hackaBLE page and ended up there. For a generic module, I think as a minimum we should support |
Does this core also support nRF51822 based MDBT40 module from Raytac? Here's the product link-
http://www.raytac.com/product_detail.php?id=38
Thanks
The text was updated successfully, but these errors were encountered: