Bit of background first. I am working on making a USB to serial converter for what amounts to a old school RS232 analog modem. (Back end is unique but the front end uses the normal 8 IO lines in a RS232 port (TX, RX, RTS, DTR, CTS, DSR, RI, and DCD) I am ..
↧
MCC USB CDC device unable to get CTS, DSR, RI, DCD working (wireb)
↧
MCC showing PWM frequency zero and TMR2 clock frequency 32kHz for HFINTOSC (PStechPaul)
I am working on a new project using the PIC16LF15345, with MPLABX 4.05, XC8 1.41, and MCC 3. In the system module I chose HFINTOSC 4 MHz with divide by 4 for 1 MHz system clock. The TMR2 module is used for PWM3, and I set timer period to 10 uSec, with HFI..
↧
↧
Wrong TAd for ADC2 and PIC18F47K40 (cintet)
HI, MCC version:3.45.1Device: PIC18F47K40 Settings:Main System clock: 64Mhz (internal HFINTOSC) and Clock Divider: 1ADC Clock Source: FOSC/ADCLK and clock: FOSC/128. TAd is showing a wrong value of 8us Regards...
↧
bug in Fault_SetOpenDrain() for PIC16F18346 (MicroStef)
MPLABX v4.05
Mcc: prior to 3.45
Windows 10
CPU PIC16F18346
According to the datasheet for PIC16F18346
http://ww1.microchip.com/...eviceDoc/40001839B.pdf
It says on page 158
For RC<7:6> pins, respectively
1 = Port pin operates as open-drain dri..
↧
Mikroe Click board library and MCC (Messerschmitt)
Hi guys I'm posting again since I think there is a problem with the Mikroe library when using library example code generated by MCC. I can't get Heartrate sensor to work with the example, it has build errors. http://www.microchip.com/forums/m1026821.aspx ..
↧
↧
MCC not able to load configuration anymore (Qwerty8787)
Hello, few hours ago I made a copy of my PIC18F65K40 project to verify memory usage using PIC18F66K40. After opening the second project, MCC asks me if I want to import the configuration and that the migration is experimental. I click yes, and MCC comes u..
↧
Setting Physical address by MCC for DMA (adi1525)
Hey, DMA to writing or reading from memory need physical address, so when I want write and read to array I must convert virtual address to physical address.#define KVA_TO_PA(v) ((_paddr_t)(v) & 0x1fffffff)
#define ConvertToPhysicalAddress(a) ((ui..
#define ConvertToPhysicalAddress(a) ((ui..
↧
USB struggle (signed *someone)
I have been banging my head on the wall to solve an issue with the USB on PIC18F45K50.Have configured it using MCC 3.45 with interrupts on.The code apparently works fine because the device successfully enumerates as COM port, however I have not been able ..
↧
question about UnifiedHost-0.1.14 and bootloader (ssagerian)
Using MPLAB X 4.05, MCC 3.45.1 I am trying to create a boot loader for a combination PIC18LF26K80 and a HC06 bluetooth module. The Bluetooth module is powered up early in the boot process and its been paired with the PC previously. The bluetooth comports ..
↧
↧
I2C stopped working after Mplab... upgrade. (soundreflections)
MCC version: 3.45.1
MPLAB X version: 4.05
Operating System and version: Microsoft Windows 10 Home Single Language
Compiler version:XC8 (v1.45) Device name: PIC18F45K20
Attach your MCC Configuration file: ctrlr_Config.mc3.txt
Attach your IDE Log: IDE ..
↧
MCC generated code not working for I2C (ZhiHong)
MCC version: v4.26.1MPLAB X version: v4.00
Operating System and version: Microsoft Windows 10 Home Single LanguageCompiler version: XC32 (v1.44)
Device name: PIC32MX110F016B Attach your MCC Configuration file: MyConfig.txt I am using PIC32MX110F016B as ..
↧
MCC bootloader + unifiedHost-0.1.14 (julien38280)
Hello everybodyI would like to use the bootloader generated with MCC (MPLAB X IDE V4.05, XC8 V1.45) to reprogrammed my device PIC16F18856 I used the guide to configure my project :http://ww1.microchip.com/downloads/en/DeviceDoc/40001779B.pdfI have generat..
↧
MCC BUG : PIC18F26K42 SPI Peripheral (delamitry)
MCC version: v3.45.1
MPLAB X version: v4.05
OS: WIN 10 64bit
Area: Generated Code
Device: PIC18F26K42
Peripheral: SPI The generated initialization function is always empty regardless of the settings made in the SPI UI (easy setup or registers) void S..
↧
↧
PLL on PIC18F45K80 (jswanson)
Version 3.45.1 I'm trying to configure the internal oscillator on the above device for 64MHz (16Mhz with 4XPLL). I have selected Internal RC Oscillator, FOSC and 16MHZ_HF. If i select PLL Enabled, PLLCFG of CONFIG1H gets correctly set, but _XTAL_FREQ is d..
↧
PIC18F26K42 Bootloader XC8 -- (cemerick)
I have a low bootloader (below ox800) and the related application at 0x800 using codeoffset.I am using the mcc generated bootloader and modified to get it working.Erasing the program at 0x800 to 0x810 and then resetting to trigger bootloading.Using the un..
↧
MCC generated I2C code not generating interrupts on send. (ctigs1)
MPlab X v4.05XC8 v1.45MCC v3.45.1PIC library v1.65.1Linux Mint 18PIC16F18857 on Curiosity HPC board. I was able to make the code work but after every masterwrite command I must manually set the SSP1IF bit, and when I do everything works. But I must set th..
↧
MCC Bootloader Generator HIGH/LOW interrupt vectors are reversed (alecdavis)
Microchip Code Configurator: 3.25 (which includes TCPIPStackLite2.10)Device: PIC18F67J60 file pic18f_bootload.c// Memory Map
// -----------------
// | 0x0000 | Reset vector
// | |
// | 0x0008 | High Priority Interrupt vector
// | |
// | 0x0018 | Low..
↧
↧
Wrong interrupt vector addresses in bootloader for 18f46k22? (JMoore)
I generated a bootloader for my app. It seems to have swapped the addresses for the remapped high/low interrupt vectors.
High should be 508, low should be 518 to match their original locations of 0x08 and 0x18. It tried with and without the prioritized..
↧
MCC Generated I2C - has anyone gotten this to work on a pic16F series device? (ctigs1)
I am seeing lots of requests for help with this but not any results of it being fixed, workarounds, or functional code. I can make the ADC code and the EUSART code work just fine, but the I2C code is broken. Does ANYONE have any working example of a MCC g..
↧
problem of the MCC Lin Driver 2.2 Slave (Jianxin.Pang)
I have one question about MCC Lin Driver 2.2 slave :Target syatem :PIC18F14K22 ( As Lin slave)Development Tools:MAPLAB X 4.05XC8 1.45MCC 3.45.1Problem: can not detect break field (Lin) sucessfullyI traced the program ,I found before handling the " RCSTAbi..
↧