Quantcast
Channel: PIC24 Topics
Viewing all 3494 articles
Browse latest View live

PIC24FJ128GA202 SPI settings problems (mgedion)

$
0
0
Hello, I am trying to port my code from PIC24FJ64GA002 to PIC24FJ128GA202.Unfortunately I cannot set up the SPI settings. I read the datasheet, fount out that there are two buffers (SPI2BUFL and SPI2BUFH) instead of one, but did not find any App notes how..

PIC 24FJ256GB206 WF ASSERTION (rfidglobal)

$
0
0
Dear all,I have an issue using PIC 24FJ256GB206 and wifi MRF24 WGOMAthe firmware written on board read continuously data from UART (38400 or even 19200) and send data over TCP via wifi.I have two issues. first issue.After many hours of working about 20 ho..

Deep Sleep PIC24FJ128GB204 (Julio López Moya)

$
0
0
Hi. My problem is that I am not able to put the device into deep sleep. I am using explorer 16, PIM and MCC.This is my code main.c int main(void)
{
// initialize the device
SYSTEM_Initialize();
if(_DPSLP)
{
LED8_SetHig..

I2C problem with 24f16ka101 (muadeeb)

$
0
0
I'm having trouble getting I2C data to transmit from my chip. When I debug the code with the internal MPLab simulator, the interrupt for the I2C write get set and MPLab shows the data being 'sent'. When debugging through my PICkit3, the interrupt is set b..

What is the maximum SPI clock for PIC24FJ256GB406 ? (rodims)

$
0
0
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..

USB Composite HID Multimedia Keyboard + Mouse using PIC24EP256GU814 (Dren)

$
0
0
Hello, I am trying to use a PIC24EP256GU814 to connect to a PC via USB and appear as a standard multimedia Keyboard AND mouse.This PIC is not supported by the MCC or Harmony, but I managed to get the MLA examples running and it appears and works as either..

Cordic Atan from AN1061 deviating a lot from calculated value (Denge)

$
0
0
Hi All, I implemented the Cordic algorithm for ATAN from the AN1061 on a PIC24FJ64GA002. The X and Y values the routine receives are 12bit signed words (sign extended to 16 bit).The nasty thing of the routine (how I implemented it) is that it always settl..

Question on PPS for PIC24FJ128GA202 (cdai7)

$
0
0
I am using PIC24FJ128GA202 and trying to use SPI to write to a microSD card. First of all, the chip I'm using, on pin RPI4, which is what is currently connected, it says this is a input for the PPS only, and so I am using it for the SDI. On the PPS refere..

Need help for PIC24FJ family to read my mouse through OTG. (Stacie)

$
0
0
I want to use a PIC24FJ128GB106 chip to Power my USB mouse and read the information from it. I initial my USB function as the code below, and I use a external Power resource. However it keeps not working that the mouse do not emit a read light. Do anyone ..

how to use I2C MCC generated drivers for PIC24FJ64GA (davea)

$
0
0
I have searched for any C code examples, all I can find are ASMif you know of any please post a linkI want use this driver with 7 and 10 bit addressingand need to know when completed void I2C2_MasterWrite(
uint8_t *pdata,
uint8_t length,
..

PIC24 DMA conflict (aurelienr)

$
0
0
Hello I'm using PIC24FJ128GA204 as a LED matrix display driver. The micro is dedicated to display driving and scrolling management. It get its data from another PIC micro that handles all the communications and data management tasks of the project. I h..

PIC24FJ256GB106 issues (JDC)

$
0
0
Dear colleagues I am having some difficulties with PIC24FJ series device and wonder if someone here can offer some assistant please. I have come across other posts with similar issues and having exhausted all the obvious things mentioned I am perplexed as..

PIC24FJ16GA004 VIH question - IO pins with PMP (wilkie)

$
0
0
I am using PMP capable IO pins but with the PMP module disabled; ie they are just IO pins and the datasheets suggests ST buffers. Yet my logic level High is detected at 1.6V (3.3V Vdd). This is the same level as suggested for PMP ie 0.25 x VDD + 0.8V. Is ..

Problem writing to microSD card using MLA fileio (cdai7)

$
0
0
Hi I am new to microchip, and this forum, and I have gotten really stuck and really really need help. I am using PIC24FJ128GA202 to try to write data to an microSD card. I am using MPLAB X v3.3, and ICD3. I am using the Microchip Libraries for Applicatio..

pic24f16ka102 : The I2C1 doesn't work (riccardocolella)

$
0
0
Hi, I configured the pic24f16ka102 to use the I2C1 bus (the only one) in master mode at 100 Khz with the 8Mhz internal clock (Fyc = 4MHz) and two 4.7 pull-up resistors on SDA1 and SCL1. After the initialization I measured with a scope on SCL1 pin a signal..

PIC24FJ256GB410 SPI Config (geotox)

$
0
0
Guys, I'm having a problem with the SPI configuration.Here's my config for SPI void Init_SPI(BYTE spi_module)
{
switch (spi_module)
{
case SPI1:
IEC0bits.SPI1IE = 0; //Disable SPI Interrupts
IEC0bits.SPI1TXIE = 0; //Disable ..

Has anyone used TMPR (tamper) pin to erase Key RAM on a PIC24 with HW Crypto Support? (steverap)

$
0
0
I'm adding security to a product which uses the PIC24FJ256GA406, and am considering using the HW Crypto facility in conjunction with the TMPR (tamper) pin. Connecting Vbat to a 3V coin cell maintains the crypto key RAM when the power cord is unplugged. Ac..

PIC24FJ64GA006 please help me (BingLiu)

$
0
0
this is the first time i use the microchip , there have some matters to me , this is the IDE describe ,i never got some problem like this .nbproject/Makefile-default.mk:143: recipe for target 'dist/default/production/boot.X.production.hex' failed make: L..

PIC24FJ128GC010 Data EEPROM Emulation (WMaier)

$
0
0
Hi, I am attempting to use Data EEPROM Emulation with my PIC24FJ128GC010, as per this. However, I am finding that I cannot save memory between programmings. In the project settings (I am using MPLABX v3.30), I do not see a setting to preserve EEPROM. Is t..

PIC gets hot quick (CCP1CON)

$
0
0
I do have a board with a PIC24EP256MC206 which was working fine until yesterday.Today the PIC gets hot after a few seconds of supply and the board draws much too much current.I have separated the PIC from the rest of the circuit.But the voltmeter shows ou..
Viewing all 3494 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>