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 749 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
  • arvindsa
    arvindsa 4 months ago

    I have not received the board, so i am not a stage where i can give you a tested solution, but when i was reading the user guide during the application stage i had seen that the TI's CC2564 Chip inside this module requires an init script to be sent after reset. https://pideu.panasonic.de/development-hub/pan1326/evaluation_board/user_guide/ . Do let me know, I am starting to think using this module will be quite hard.  Also I am planning to use Maxim's LPSDK which seem to have the necessary BLE Stack and it takes care of the init script by itself. Again I have only setup the SDK and configured make file to compile a blinky code. But never put it on the board.

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

    I have not received the board, so i am not a stage where i can give you a tested solution, but when i was reading the user guide during the application stage i had seen that the TI's CC2564 Chip inside this module requires an init script to be sent after reset. https://pideu.panasonic.de/development-hub/pan1326/evaluation_board/user_guide/ . Do let me know, I am starting to think using this module will be quite hard.  Also I am planning to use Maxim's LPSDK which seem to have the necessary BLE Stack and it takes care of the init script by itself. Again I have only setup the SDK and configured make file to compile a blinky code. But never put it on the board.

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

    I believe you are correct that the chip needs resetting / initialising, but I don’t believe that command is making it to the module, and if it is I am not getting any response from it. I am going to be able to check that I have the controller flags set correctly to feed the 32KHz required, and I think that is working, but if it is then it is the UART related flags I need to turn my attention towards. The Arduino core does do some of the initialisation, but there is perhaps some more that needs doing first. If no one else knows then I will have to keep working the problem.

    Truth is mbed will do everything I need, but that is being deprecated. I can at least learn from that when porting to Arduino. My intention to use Arduino is because I want to keep things easy in the future and accessible, even if I need to do more work now to achieve that. It appears much of the SDK is available through the Arduino core so everything should be possible. For what I and doing I do not need a full Bluetooth stack and I have encapsulated other modules in the same way in the past, some hope that will be enough. I will say that for everything other than Bluetooth I have found the Arduino core more than adequate. If you get stuck then perhaps give it a look.

    • 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