Search the Community
Showing results for tags 'usart'.
Hello, I'm trying to get a Hello World app to work using a chipKit Pro MX4. I've followed along with example code written for a Starter Kit board changing and making adjustments to the MPLAB X Harmony configurator as I go along, although there really isn't that much difference between the two as the sample.x project is written for a PIC32MX795. I'm using the USART driver with the following code in system_config.h (See the configuration code generated by Harmony and stored in the system_config.h file). My state machine simply adds a bunch of strings to the Transmit Buffer Queue using the DR
I just keep getting 0 bytes and I do not know why.I am using a ChipKit uC32 board and I have a Sparkfun RS232 Shifter connected to my computer.I have RX from the Shifter wired to TX on the uC32 and TX wired to RX. and I see the light blinking for RX but it is not working. When I use HyperTerminal, I connect to Com8( and I check and that is the right comport) .I checked Device Manager, and the comport is set to 8 and Data bits is 8, Parity is None, Flow control is None, and Stop bits is 1.and I set HyperTerminal so the same thing.ok here is my code: float Acceptable_Water_Range; /*
I generated a code for my USART on a chipkit Max32 board using MPLab Harmony based on the tutorial given at this link http://microchip.wikidot.com/harmony:example-usart-static-wf32-steps. The code compiles well and uploads to my board but when I try to interface it with my laptop it keeps reading 0xFF on the RX buffer and even when I tried sending a character (e.i: 0x20) the terminal on my computer won't see it. I tried with different terminal emulators (YAT, Realterm), I also downloaded the FTDI driver from http://www.ftdichip.com/Drivers/VCP.htm but nothing seems to fix or change a thing abo