The Access Denied message is mainly due to the contents of your post contain some words/codes restricted by our company firewall. So, please try to post your message as an attachment. Our forum allows to post most file types for attachments.
-- Microchip forum support Actual question is in the atac..
Hi, Iam generating a CAN demo code for dsPIC33EV32GM104 using MCC code generator and in the main.c file i try to check the value of received CAN message id. while copiling the code iam getting the following errormain.c: In function 'main':
main.c:62:12: error: 'rxCanMsg' undeclared (first use in th..
Hello,I want to convert DC in to AC. The AC output should beVoltage :100V~130V or 220V~240V AC.Frequency: 25Khz.Watt: 60W. Warm Regards,Manoj Hiwarkar..
I realized today that there is a fairly long latency between when you disable an interrupt using the IEC*CLR registers, and when the interrupt actually becomes disabled. It required 6 Nop() calls (which is 6 SSNOP instructions) in order to make sure that the interrupt was truly disabled before proce..
Hi all, hope you're doing well! I've recently got introduced to the magic world of PIC programming and started working on a project. For this project i would like to (amongst other things) control a DFPlayer through a PIC. For some reason i cannot get eusart to work and need some advice.I'm using a ..
I'm trying to program BM83 modules with DFU mode. Bricked the first one soldered to prototype so now just soldering to USB cable. Pic attached. I noticed that it wouldn't show up unless DM and DP were reversed - normal direction (DP to USB DATA+, DM to USB DATA-) the hub would not connect the device..
Hi Everyone, Does anyone have any example code for the RA8835 Graphics LCD. I'm running MPLAB X V5.30 with XC8 V2.31. I am using a PIC18f46K80. I have been experimenting with the above screen for several days now, but without success.The First problem was as follows. For some bizarre reason the pic ..
When I use type uint24_t in MPLAB X IDE it has a red underline, but builds anyway. At first I figured it was working and the red underline was just a bug. Now I'm realizing that it the uint24_t variables are just defaulting to 16 bit.What do I need to do to get 24 bit variables to actually work?..
Does anyone want to venture what I may be doing wrong here? (see attached)I set a "long double" in a subroutine and pass it up to the calling program.In the routine it prints fine but when passed up it appears as zero.ThanksFritz
Product Version: MPLAB X IDE v5.30System: Windows 10 version 10.0 run..
Hello there.I know that this topic was discussed many times , but unfortunately I cannot make it work whatever I am doing, so calling for common wisdom...I have test setup with PIC18F452 on Picdem2plus board (if it matters), using C18 compiler/MPLAB IDE 8.92 . Trying to implement external interrupt ..
Hi, I have designed a custom PCB with PIC32MZ and an external flash memory. I want to update the firmware of the PIC32 without the need for an external programmer or debugger. To do this, I have proceeded as follows: - With a custom software I save the .hex file in the external flash memory. - Befor..
Hi all, My team is developing a data logging board using the above PIC. Part of the requirements is to ensure that the board will be able to support high speed UART up to 16MBauds. The circuit is designed in-house, but the PCB layout is to be done externally by an external vendor. We've requested th..
has anybody successfully connected to the dsPic target in Simulink through external mode while using Simulink dsPIC blockset? The dsPIC used is dsPIC33FJ128MC802.
I'm new at microcontrollers in general and I'm still learning. I'm trying to create a code that causes the RC7 led to flash every 1 seconds and when I press the RC9 button the RC7 led will have an inverval of +1second. That is, if I press once it will flash every 2 seconds, if I press it twice it wi..
Hello all,I created model for UART communication between dspic30f4011 and PC (Hercules terminal).
The baud rate is 9600. However, text (characters) send from dspic30f4011 to PC always broken. I used:
* Windows 10
* MATLAB/Simulink R2020b
* MPLAB Devide blcock version 3.49
* Pickit 3 I attached ..
I am trying to use single SPI communication using 18F26K80. The proc needs to read SPI only, so no rocket science task. I have the following config:PMD0bits.SSPMD = 0; //MSSP enabledSSPSTATbits.SMP = 0; //receiving modeSSPSTATbits.CKE = 1; // clock trigger on rise (mode 0)SSPCON1bits.CKP = 0; // clo..
I feel it increasing a pain in the ass to work with XC8 2.31 and want to ask for help whether it is so buggy or if I misunderstand some basic concepts of a C-Compiler or the C language in general:-( My setup is:- Ubuntu 20.04 LTS- MPLABX 5.45- XC8 2.31- PIC18F2320 Some two or three years ago I wrote..
Hi, I am a new comer , and I feel lucky that I can find such fantastic website, besides, the man here seems very nice! Now ,I am working on a project about HID keyboard , but not everything works well, except the Play/Pause and AL Consumer Control Configuration . Is there any one who can help me ? B..
Hello,Happy New Year.My first serious construction with PIC 16f676, i try to build a panel-voltmeter.I have found many talking about using ADC module but all of them is with internal reference. I think the right configure to use ext reference is make the Vref pin input and analog. I use external vol..