element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smart Security and Surveillance
  • Challenges & Projects
  • Design Challenges
  • Smart Security and Surveillance
  • More
  • Cancel
Smart Security and Surveillance
Forum Accessing the PAN1326B Bluetooth module on the MAX32630fTHR
  • News
  • Projects
  • Forum
  • DC
  • Leaderboard
  • Files
  • Members
  • More
  • Cancel
  • New
Join Smart Security and Surveillance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 18 replies
  • Subscribers 49 subscribers
  • Views 744 views
  • Users 0 members are here
Related

Accessing the PAN1326B Bluetooth module on the MAX32630fTHR

Alistair
Alistair 4 months ago

I have dome some experimentation over the long weekend and had some success in getting the MAX32630fTHR working with the Arduino IDE. In fact it is pleasingly fast to compile and upload. I will try and finish documenting this process just in case it is of help to others, or me in the future when I have forgotten everything. ;-)

There is one thing I am struggling with however, and I was wondering it anyone has the solution.

I am trying to communicate with the PAN1326B to scan for Bluetooth devices. It should be on UART0, and having dug deep in to the Arduino core for the module it looks like that is mapped correctly. However when I send data (a HCI reset of 01,03,0c,00 for example) to it nothing happens and nothing ever comes back.

I have pulsed down P1.6 (BT_RST) for a few hundred milliseconds to try and reset things and nothing changes. I have held CTS low, but also checked it high just in case.

One complication is the PAN1326B required a 32KHz signal, but this is a feature built in to the MAX32630 in P1.7. If I do not activate this then RTS remains high as expected.

When I set the PWR_PSEQ_32K_EN flag in PWRSEQ_REG4 to activate the 32KHz output RTS from the module is briefly high, but then goes low in a fraction of a second. I believe this is as expected.

Now one odd thing is if I leave the module running it will eventually do high. This is not quick though and may be some kind of power saving feature perhaps?

I am blindly assuming that the clock is being generated and being passed thought correctly, but there is a test pad TP4 so I can confirm this tomorrow. Everything else is not exposed on the board unfortunately.

So, has anyone got any thoughts on why I am not able to communicate with the module, or advice of what to try next?

  • Sign in to reply
  • Cancel

Top Replies

  • Alistair
    Alistair 4 months ago in reply to skruglewicz +2
    I have just rushed a post with the details in. I will do a deeper dive in to the lower level stuff when I post about the Bluetooth work. community.element14.com/.../programming-the-max32630fthr-with-the…
  • Alistair
    Alistair 4 months ago in reply to skruglewicz +1
    I have decided to go with the Arduino IDE and core for this project. It is a fun project that I want to be accessible to and modifiable by everyone, so it was an obvious call really. The only negative…
  • Alistair
    Alistair 4 months ago +1
    I think I have it working. There were a number of things that I will document later (honest ;-) ). The summary version is that UART0 was not enabled so neds turning on, P1.7 need a 32KHx signal mapping…
Parents
  • skruglewicz
    skruglewicz 4 months ago

    Hi Alistair 

    I’m sorry to hear that your having problems. I’ve never used maximum boards, so I have no idea how to help.

    im a bit discouraged that arm mbed is being end of lived. 
    Can I ask you to describe the dev env you have chosen if any?

    ide and version, language. Debugger etc.

    fedex just delivered the kit today

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • skruglewicz
    skruglewicz 4 months ago

    Hi Alistair 

    I’m sorry to hear that your having problems. I’ve never used maximum boards, so I have no idea how to help.

    im a bit discouraged that arm mbed is being end of lived. 
    Can I ask you to describe the dev env you have chosen if any?

    ide and version, language. Debugger etc.

    fedex just delivered the kit today

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Alistair
    Alistair 4 months ago in reply to skruglewicz

    I have decided to go with the Arduino IDE and core for this project. It is a fun project that I want to be accessible to and modifiable by everyone, so it was an obvious call really. The only negative point is that I would need to reimplement some base functionality that is currently mbed only, but if we are loosing mbed then that needs to happen whatever. It could be that the legacy of this project is the porting of the Bluetooth functionality for the MAX32630FTHR to Arduino, and I ma happy with that. They are good little modules and it would be a shame for them to die when mbed goes.

    As for the setup details, I was going to do a post on that including the Bluetooth, and after I had got round to properly documenting my project, but I might knock up a quick set of instruction if it helps others now. The trouble always is the development is fun, and the documentation is not. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Alistair
    Alistair 4 months ago in reply to skruglewicz

    I have just rushed a post with the details in. I will do a deeper dive in to the lower level stuff when I post about the Bluetooth work. community.element14.com/.../programming-the-max32630fthr-with-the-arduino-ide

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • skruglewicz
    skruglewicz 4 months ago in reply to Alistair

    thanks Alistair 

    The mbed compatibility is a bit over my head at the moment. But I will keep this in mind when and if I decide to use BLE in my project..
    Thanks for your feedback on my question

    Steve K

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • skruglewicz
    skruglewicz 4 months ago in reply to Alistair

    Thanks for your research... great 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube