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 746 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
  • Alistair
    Alistair 4 months ago

    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 to it, the Arduino core UART initialisation turns off the RTS and CTS functionality so it needs turning back on after setup, and the RX and TX pins are inverted. The latter is one that was a guess but an easy check and paid off. So, show stopper over. Phew.

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

    Well done figuring all that out. You've made a solid choice going with Arduino as with Mbed I think you have to use an older version (like 5.10) to use the Bluetooth on this board rather than mbed 6.x.

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

    Well done figuring all that out. You've made a solid choice going with Arduino as with Mbed I think you have to use an older version (like 5.10) to use the Bluetooth on this board rather than mbed 6.x.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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