background image

 

 

 

 

 

 

 

 

Cavli P32 Series Modules 

Evaluation Kit

 
 

P32 Series EVK Hardware Manual 

Release Version 1.2 

www.cavliwireless.com 

Copyright © 2019 by Cavli Wireless Inc. 

All  rights  reserved.  All  document  materials,  including,  without  limitation,  the  logos,  design,  text,  graphics,  other  files  and  the  selection  and 
arrangement are copyrighted as otherwise noted on the linked page. No part of this publication may be reproduced, distributed, or transmitted in 
any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of 
the publisher, except in the case of brief quotations embodied in critical reviews and certain other non-commercial uses permitted by copyright 
law. For permission requests, are allowed only for company with registered customer ID within Cavli Wireless. Write to 

[email protected]

 fo

registering the company. 

Cavli Wireless Inc. 
177 Park Avenue 
San Jose, California, USA 95113 
www.cavliwireless.com 

Designed in USA 

Summary of Contents for P32 Series

Page 1: ...produced distributed or transmitted in any form or by any means including photocopying recording or other electronic or mechanical methods without the prior written permission of the publisher except in the case of brief quotations embodied in critical reviews and certain other non commercial uses permitted by copyright law For permission requests are allowed only for company with registered custo...

Page 2: ...al Specifications 3 Pin Layout 4 Pin Description 5 Power 5 Reset 6 Boot 6 Main Interface 6 LED Indicator 8 Guidelines 8 Setting Up Arduino Platform Windows 9 Setting Up Arduino Platform Ubuntu 10 Setting Up ESP IDF Platform Ubuntu 11 Setting Up ESP IDF Platform Windows 13 Sample Code 14 Dimensions 15 ...

Page 3: ... Evaluation Kit Hardware Manual 2 Introduction The P32 evaluation kit provides users to test and develop their own applications on P32 series modules There are three modules which P32EVK supports o P32C1RS o P32C31QM o P32C1RM ...

Page 4: ...and Boot General Purpose IO pins 12 Status pins AP_READY and W_DISABLE SMA Connector One SMA connector with 50 ohm impedence USB Connector UDP TCP CoAP LWM2M PPP SSL DTLS FTP HTTP MQTT HTTPS Antenna interface 50 Ω interface of the main antenna 50 Ω interface of Bluetooth antenna Firmware update Serial port upgrade Temperature range Normal working temperature 20 to 70 Limit working temperature 40 t...

Page 5: ...Cavli Wireless P32 Series Evaluation Kit Hardware Manual 4 Pin Layout ...

Page 6: ...al Purpose IO 3 3 Voltage domain 11 W_DISABLE DO Airplane Mode Control 1 8 Voltage domain 12 IO5 IO General Purpose IO 3 3 Voltage domain 13 IO34 IO General Purpose IO 3 3 Voltage domain 14 IO35 IO General Purpose IO 3 3 Voltage domain 15 IO32 IO General Purpose IO 3 3 Voltage domain 16 IO33 IO General Purpose IO 3 3 Voltage domain 17 IO25 IO General Purpose IO 3 3 Voltage domain 18 VIN PI Main Po...

Page 7: ...Make sure the power supply is stable and can deliver enough current Reset The P32EVK can be reset using pressing the RESET button on the board Boot Boot button is used for programming purpose User need to press the boot button and then reset button to enter in the boot mode of the microcontroller Main Interface UART interface P32EVK serial port baud rate can be set to 115200 When users want to use...

Page 8: ... enabledGPIOs and Capacitive touch enabled GPIOs can be configured as digital GPIOs Pin Pin Name IO Functional Description Remarks 6 IO4 IO General Purpose IO 2 8 1 8 Voltage domain 8 IO2 IO General Purpose IO 2 8 1 8 Voltage domain 9 IO15 IO General Purpose IO 2 8 1 8 Voltage domain 10 IO13 IO General Purpose IO 2 8 1 8 Voltage domain 12 IO5 IO General Purpose IO 2 8 1 8 Voltage domain 13 IO34 IO...

Page 9: ...COM port Flash the firmware to P32 Series module at upload speed of 256000 After successful firmware flash reset the module by pressing RESET button Programing Consoles Arduino ESP IDF Upload Speed 926000 256000 CPU Frequency 40MHz Mandatory Flash size 2MB Mandatory The library packages of P32 Series can be found in the https github com cavli wireless To disable the output log following steps shou...

Page 10: ... with a comma STEP 3 Open Arduino and go to Tools Board Board Manager Select Type as All and search for esp32 by Espressif Systems and install the same Close the window after installation STEP 4 Connect your ESP32 board to your computer through the micro USB cable Make sure the red LED goes high ON the module to ensure power supply STEP5 Start the Arduino IDE and navigate to Tools Boards and selec...

Page 11: ... tty0 USB to Serial converter serial communication with ESP32 sudo usermod a G dialout USER STEP 4 Go to File Preferences Enter https dl espressif com dl package_esp32_index json into the Additional Boards Manager URLs field as shown in the figure below Then click the OK button Note if you already have the ESP8266 boards URL you can separate the URLs with a comma STEP 5 Open Arduino and go to Tool...

Page 12: ...lick on upload and you should see the Arduino console displaying the following if everything works as expected Flash Configuration Setting Up ESP IDF Platform Ubuntu STEP 1 Installing Toolchain Open Terminal and run the following command sudo apt get install git wget libncurses dev flex bison gperf python python pip python setuptools python serial python click python cryptography python future pyt...

Page 13: ...ESP IDF run HOME esp esp idf export sh Step6 Start a Project Now you are ready to prepare your application for ESP32 You can start with get started hello_world project from examples directory in IDF cd esp cp r IDF_PATH examples get started hello_world Step7 Connect your device Now connect your ESP32 board to the computer and check under what serial port the board is visible Serial ports have the ...

Page 14: ...nload and run installers for Python3 7 and Git For Windows if they are not already installed on the computer STEP 2 Navigate to the folder C msys32 and open the application mingw32 exe STEP 3 Open mingw32 exe and run the following commands git clone recursive https github com espressif esp idf git STEP 4 Open vim to add IDF_PATH environment variable to your MYSYS system cd esp idf vim etc profile ...

Page 15: ...oject configuration utility menuconfig cd esp hello_world make menuconfig If the previous steps have been done correctly the following menu appears Step6 Compile the application by running following command Make Step7 Flash the program into the chip Make flash Sample Code The sample code for P32 Series modules can be found at https github com cavli wireless ...

Page 16: ...Cavli Wireless P32 Series Evaluation Kit Hardware Manual 15 Dimensions ...

Reviews: