Hello. I'm having some problems about reception and transmission using UART1.
I'm using a 24FJ64GB002 microcontroller. I'm pretending to turn on a LED when a RX interrupt happens.
I'm using a wire to connect pin17 (it's suppose to be UART1 TX) and pin18..
↧
Problem with UART PIC24FJ64GB002 (Faly3891)
↧
Exiting Deep Sleep PIC24FJ128GC010 (Mwood)
All, I am using this part in a battery application. I am able to enter deep sleep without issue and appear to wake up on an int0 transition. The current goes from roughly 25uA to 3.7mA. Yet normal functionality is not restored. When examining the DSCON re..
↧
↧
I want to count the number of rising egde pulses (Developer)
Hi all I want to count the number of pulses falling on a pin using an interrupt. Like, when a 0 to 1 transistion happens, it should service the interrupt. In the interrupt loop, it should have a statement "counter++". Please let me know how to configure i..
↧
Uart code for PIC24FJ256GB110 (Pallav Joshi)
Hello everyone as I am new in embedded era,So I am facing little bit problem while trying to implement code to achieve uart communication with PIC24FJ256GB110 (using explorer 16 development board). I am using MPLAB X IDE v.3.35.I am opening MCC(MPLAB CODE..
↧
PIC24FJ256GB406 SPI Master with DMA Read Transfer. How to avoid gaps between bytes? (rodims)
For an SPI Nand flash I need to use DMA for the reading and writing of e.g. 512 byte blocks. The SPI is configured as 8 bit master with currently 8 MHz SPI clock. A block transfer must be accomplished by DMA without CPU usage and I use only one DMA channe..
↧
↧
pic24 using interrupt (gatocap)
Hi everyone, I am programing my pic24 and have a question, I am using as ISR to trigger a shift of direction on a servo which has micro switches at full extention, full. retraction, and middle positions. My ISR is pretty good for getting my servo commands..
↧
PIC24F spi issues with mcp3201 and mcp4921 (Toffeeflavour)
Hello all!
I'm working on a guitar pedal using a PIC24F04KA200.I use the adc and dac mcp3201 and mcp4921.
There are two issues which I do not understand:
1. The adc mcp3201 does not work if another spi module is addressed. Right now I address bot..
↧
Is it possible to erase all program flash programmatically (chenssh)
I am wondering if there is a way to erase all the program flash on a PIC24F programmatically? Is it even possible? I thought that the NVMCON register looked promising according to the datasheet, but I've been unable to get anything to work. Right now I'm ..
↧
What is the maximum SPI clock for PIC24FJ256GB406 ? (rodims)
I have a PIC24FJ106 device, which uses PLL for FOsc = 32 MHz, Fcy = 16 MHz. With the GB106 device I can verify that it is possible to use 16 MHz as SPI-clock (setting prescalers to 1:1). The GB406 uses the same hardware, only the PIC is different. Up to n..
↧
↧
CAN controller with DAC 12/10 bit resolution (KDN)
I am looking for CAN controller with DAC 12/10 bit resolution..
↧
PIC24F self programming (GalS)
I am using PIC24FJ64GA306.I am using the examples from DS30009715c.pdf.Read and Eras work fine.Than in Write it stucks in "__builtin_write_NVM", and it seems to destroy the code (I have to re-program). int i, offset; NVMCON = 0x4002; TBLPAG = __builtin_tb..
↧
PIC24 Using SPI on XIDE 3.30 and Code Configurator: Where To Begin ?? (Abraxas)
Greetings I'm trying to get a very simple project going that reads a thermocouple via a MAX31855. I won't worry about the display part yet and hope to just read it using LEDs or something. All I've been able to figure out thus far is that I should make my..
↧
PIC24F16KL401 UART help (rdnether)
I need some assistance getting my UART functional. At this point, I am just trying to receive, without using interrupts. I've got my program down to a few basic functions: I am running with the on board 8MHz oscillator, verified 4Mhz out on CLK0I have exa..
↧
↧
Data EEPROM Access on PIC24FV32KA304 (kathappan)
Hi all, I am using PIC24FV32KA304 and MPLAB X IDE (v3.30) along with XC 16 (v1.26). In in PIC24FV32KA304, the data EEPROM is mapped to the memory address from 7FFE00h to 7FFFFFh(256 words). The EEPROM operations can be done using NVMCON, NVMKEY and NVMADR..
↧
PIC24 UART RECEIVE ISSUE (harini04)
Hello everyone, We are using PIC24FJ64GA004 controller and Internal FRC of 8MHz.1. Please tell , will these settings are correct for UART Communication !! U1MODEbits.BRGH = 1; // Standard-Speed modeU1BRG = 8; // Baud Rate setting for 115200 2. By these se..
↧
How to use these headers (Developer)
Hi I want to use usb library for pic24fj64gb002. for that do I need to add these headers #include "usb.h"
#include "usb_host_cdc.h" I was going through some of code examples in mla files. I could see that these headers have been used in every code. But w..
↧
interrupt pin reading inside of interrupt handler (scrungy_doolittle)
I have a line connected to an external interrupt on a PIC24FJ256GB110. I need to have the system interrupt me on both the leading edge and the falling edge of this line. This is used to bracket a serial transmisison from an external slave. It is to late t..
↧
↧
ADC Buffer Organization (jnnewton)
I'm having trouble sorting out where the ADC is putting samples, and am looking at the reference manual for the device family.Here's the link to the section on ADC...
↧
PIC24F Family Reference Manual (lcj)
Is this document available as a single download? It's really tedious having to search out and download each chapter individually, but I haven't been able to locate a single pdf of the whole document. I'm working with a PIC24FJ128GA010...
↧
PIC24FJ128GA202 ADC setup (mgedion)
Hello, Still fighting with the new GA2 series.Maybe someone can share a simple ADC setup for PIC24FJ128GA202. Regular mode (no FIFO). I use it to connect a microphone. With GA002 series everything works, but the new MCU records only noise :( Thank you for..
↧