Reset pin on MDBT42Q #3875
Replies: 1 comment
-
Posted at 2021-10-19 by @gfwilliams Hi,
It's already configured on the MDBT42Q
Active low. It always has been so it's Raytac's sheet that is wrong Posted at 2021-10-20 by @fanoush
it is enabled by this line
just fyi the nrf5232 has brownout detection and does a reset Posted at 2021-10-20 by user135646 Thanks both, especially for the reference manual. I'm used to register-level stuff in C, so all this high-level abstraction (and in JS no less) is confusing. Seems like it makes difficult stuff easy (the whole BLE stack) but easy stuff more difficult. Posted at 2021-10-20 by @fanoush
Any example? You can access hardware registers via poke/peek methods and also you can inline fragments of C code in case JS is not enough (speed, low level access). I don't know about anything that you couldn't do with Espruino. At worst it is easy to have custom build with own native C module with API visible from JS if inline C becomes too complicated (handle js variables directly inside C code). Posted at 2021-10-20 by user135646 Perhaps it's a lack of knowledge on my part, and maybe I should do some more reading before critiquing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-10-19 by user135646
On the MDBT42Q page it says that pin D21 can be configured as 'NRST'. This conflicts with Raytac's datasheet where it says it can be configured as 'RESET'. I couldn't find anything in the API reference as to how to configure the pin.
So questions are:
Reason being I want to add a brownout detection chip that resets the board if power dips.
Thanks in advance,
Rob
Beta Was this translation helpful? Give feedback.
All reactions