Search the Community

Showing results for tags 'wifire'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 14 results

  1. I have a chipKit WiFire PIC32MZ board and I want to use it with the Multi-Touch Display Shield. I know I can do this by using MPIDE however I require the use of Harmony so my board can act as a CDC Host. Is there anyway to have both functionality or get the Multi Touch Display Shield to work with Harmony? Thanks.
  2. Hello, My Windows 10 system will not correctly install drivers for the WiFire board. (See my related post here) How can I get the drivers so that I can install them manually? Thanks, John
  3. Hello, I have been using the WiFire board Rev D for data collection. A data stream is sent from the WiFire board to the windows computer over USB. Programming is via Microchip Blockset for Simulink: Downloadable code is auto-generated by Simulink (CTRL B to build) Program loading is via Pickit3, the .elf file is attached. This system was working fine, but suddenly the windows system can no longer see the com port. How can I fix this? Thanks, John ChipKit_WiFire_32MZ2048EFG100_Standalone_R2015b.elf One more note: the WiFire board should show up in Windows Device Manager as a com port, and it does not, see screen shot. If I plug in an Arduino, it shows up as COM4, the WiFire should look similar. John
  4. Hello everyone, PIC32MX and PIC32MZ base support has been merged in RIOT-OS. In addition, basic support for the chipKIT Wifire has also been merged. RIOT is a small operating systems for embedded devices with the following features: Multi-threading support, with a full stack for each thread Some POSIX compatibility network stack with IPv6 support Drivers for various sensors And many other things The current support for the chipKIT Wi-Fire is still very incomplete: only a small GPIO driver has been merged. I have written some drivers for SPI, I2C, Random Number Generator (available on my github repository) but it would help a lot if more people contribute: writing drivers for peripherals, reviewing & verifying pull requests, writing documentation in the wiki... How to try RIOT-OS on the Wifire If you are on Windows, follow the instructions on the wiki: Install the MIPS toolchain Set MIPS_ELF_ROOT environment variable to the MIPS toolchain directory export PATH=$PATH:$MIPS_ELF_ROOT/bin cd examples/hello-world make BOARD=pic32-wifire The file to flash is bin/pic32-wifire/hello-world.hex. The UART output is configured as baudrate 9600, one stop, no parity bit. Useful links: - RIOT repository: - toolchain: Fran├žois
  5. I'm having trouble with running a USB CDC example (the cdc_com_port_single from MPLAB Harmony) on a WiFire board. I was able to modify the configuration in order to compile the code for the WiFire. The program starts and, apparently, recognizes the connection from my laptop (as reported by the status LEDs), my laptop (a MacBook Pro) recognizes the board as a tty.usbmodem, but no communication occurs thereafter, and the board ends up in APP_STATE_ERROR. Has anyone succeeded running the example on a WiFire? If not, is there another USB CDC sample for the WiFire I can check?
  6. Hi, Currently I have an error when I try to compile the deWeServer example available on deipck library. For some reasons have some errors. Why is not declared the PIN_LED_STATE?? Regards
  7. Hi, When I set the jumper on JP9 to 5V0, I get around 3.8V between pins pin 5 and ground instead of 5V. Is this normal or there is something wrong with my board. Regards,
  8. Hi, When I try to use the delay function (__delay_ms() in a simple code for turning LEDs on and off, the project does not build. I have defined _XTAL_FREQ as indicated in MPLABX help. When I include 'delays.h' as indicated in the help, I get a parse error. When I try to build without including delays.h I get the error below. Are the delay functions not available foe PIC32MZ devices? I am using Flow Cloud Skeleton App, and the device is PIC32MZ2048ECG100 ChipKit WiFire. Below is the error and the code. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Error: c:/microchip/harmony/current/apps/flow/flow_skeletonapp/src/main.c:35: undefined reference to `__delay_us' ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Code: #include <stddef.h> // Defines NULL #include <stdbool.h> // Defines true #include <stdlib.h> // Defines EXIT_FAILURE #include <system/debug/sys_debug.h> #include <tcpip/src/system/system_debug.h> #include <app_core.h> #include "app.h" #include "command_handlers.h" #define _XTAL_FREQ=200000000; //App information given to libappbase. static APP_info info = { .appName = "Flow PIC32MZ WiFire Skeleton App", .appVersion = "1.0.0", .appVersionDate = "23 Mar 2015", .AppTask = SYS_AppTask, .CommandSet = CommandSet, .CommandShow = CommandShow, .AppCLI_ResetHandler = CommandHandlers_ResetHandler }; //char message [200]; int main ( void ) { //libappbase inits and then runs our task. TRISE=0; //set all pins as outputs ANSELE=0; //set all 8 pins as digital while(1){ PORTE=0x00ff; //set all 8 pins to HIGH __delay_ms(100); PORTE=0x0000; //set all pins to LOW __delay_ms(100); } return APPCORE_init(&info); }
  9. Hi, I adapted an MPLAB X program from Dogan Ibrahim's book based on PIC18 microcontroller for my PIC32 WiFire ChipKit. However the following two configuration statements generated errors during building (the syntax is unknown to the compiler) and I therefore commented them out. //Configuration: Ext reset, Watchdog OFF, HS oscillator //#pragma config MCLRE = ON, WDT = OFF, OSC = HS //MEMCONbits.EBDIS = 1; //Enable input / output functions The program was able to build, however it could not do as programmed (the LED 4 did not switch on when button 1 was pressed). I think this is related to the statements I commented out, Kindly assist to troubleshoot and for the correct syntax. Below is the full program. #include <stdio.h> #include <stdlib.h> #include <xc.h> //Configuration: Ext reset, Watchdog OFF, HS oscillator //#pragma config MCLRE = ON, WDT = OFF, OSC = HS // //Define switch and LED connections #define BTN1 PORTAbits.RA5 #define LED4 PORTGbits.RG15 // //Define clock frequency #define _XTAL_FREQ 10000000 // //Start of main program int main(int argc, char** argv) { TRISAbits.TRISA5 = 1; //Configure RA05 as input TRISGbits.TRISG15 = 0; //Configure RG15 as output //MEMCONbits.EBDIS = 1; //Enable input / output functions for (;;) { //do forever if (BTN1 == 0) //If BTN1 is pressed LED4 =1; // LED 4 is turned ON else LED4 =0; } }
  10. The chipKIT Uno32 boards based on the PIC32MX320F128 has two link scripts: chipKIT-application-32MX250F128.ld for upload through USB, and chipKIT-application-32MX320F128-nobootloader.ld for use with chipKIT PGM. Where to find or how to develop the same nobootloader.ld for more recent chipKIT boards, including Wi-FIRE PIC32MZ2048ECG uC32 PIC32MX340F512H DP32 PIC32MX250F128B Thanks!
  11. Hi, I have a ChipKit Wi-Fire board and using MPIDE 0150 (2015-03-18 build). One reason I picked this board was because the MCU has an ADC which can support sampling rates up to 500 ksps (for my project I would need around 200 ksps, 8 bit resolution). When I do a simple test and capture the time (micros()) before an after the analog read, I end up with a time difference of 2469 us, which means a meager ADC sampling rate of 405 sps. Why is it so slow? How can I achieve rates up to 200 ksps with MPIDE and the built in libraries? I found an article for the Arduino board, where someone has boosted up the sampling rate by going around the analog read library: Would I have to do something similar in my case? Has anyone done this for the ChipKit boards and could share some code? I would assume there must be more people than myself who has the need for a fast ADC. The code I wrote to test the analog read speed is as follows: int sensorPin = A12; int sensorValue = 0; int start_time; int end_time; void setup() { Serial.begin(9600); } void loop() { start_time = micros(); sensorValue = analogRead(sensorPin); end_time = micros(); Serial.println(end_time-start_time, DEC); while(1); }
  12. Hi, I just bought the Chipkit Wi-Fire board and trying to use the DEIPcK examples that are provided on Digilent's website in MPIDE. However, when I try to compile an example program, for example WiFiScan, I get the following error message: WiFiScan.cpp:55:101: fatal error: MRF24G.h: No such file or directorycompilation terminated. MRF24G.h is the first h file that the program tries to load. I've included the DEIPcK libraries in the way that is described on this website: Any suggestions?
  13. Hi, I have a couple of your Wi-Fire RevB modules - excellent boards so far !!. I have done very little with them yet - waiting for Microchips Harmony to 'settle' - its now usable - at V1.03.01 ;-). I have a basic config in and at least running - I can send data out of UART ports so far. So - I now started mapping the IO pins so that I can add my own chips on an add-on board, and the first problem I hit is trying to map your on-board SDCARD :-(. Your spec says that I can drive it with an SPI - which is what I want to do, BUT it also says that SDI3 needs to be connected to pin C4 (CPU pin 9). BUT - this is NOT a remappable pin for this CPU, which can be allocated to SPI3 :-(. I assume that you will fix this in a Rev C board soon ????. If so - what pin will you allocate - so that I can cut & strap my board accordingly - and also avoid using this pin for any other interface :-O. NB I am trying to create a manufacturable 'product' for a client using this module and an add-on board (for custom hardware extension). Many Thanks - hopefully ;-). Best Regards Graham
  14. I already started a thread in chipKit forums( and ( but no one was able to reply so you guys are my last hope. In my last post() I discussed about my intention to use a 2 wire interface device/I2C but I got problems whenever I go. I use a chipkit Wi-Fire board and i want to use an MPR121 capacitive touchpad with it and I have 2 coding options: - The sparkfun's MPR121 code approach( which uses i2c functions which is massive and the code gives me a million of errors and an "AVR specific code incompatible with MPIDE" which is a big "no no". - The Adafruit's MPR121 code approach( which gives me just 1 error related with the inability of the chipkit libraries to handle multiple states or something. Basically the code has a wire.endtransmission(false); and chipkit only has wire.endtransmission(); funtion. So I would like to ask you guys for an equivalent of that code. Or the library needs modifications. Maybe Keith Vogel from Digilent knows how to fix this as he designed the library. Thank you in advance everyone.