PIC32MX with RS485 not working while receiving (Monkey D.Luffy)
Hi all! I have to interface PIC32MX150F128B with MAX485. The transmission part had done well by shorting RE and DE, and giving it a high pulse during transmission. DI being connected to TX pin of PIC....
View ArticleUSB input protection (good practise) (sebmadgwick)
I've been looking at lots of schematics to see how designers have chosen to address input protection (e.g. Arduino, Chipkit, Microchip starter kits, many others). None of the PIC32 schematics I have...
View ArticleCustom PIC32MZ board (sbanisetty)
Hello Guys,I developed an application using PIC32MZ EC STARTER KIT. Now, I want to design a custom Board to our application with all the additional components. The starter kit has an onboard...
View ArticleLCC DMA or PORT H issue (MKC)
MZ partProject with LCC (DMA used to write RGB data to LCD)This concept seems to work fine for months now. I added a simple line of code in the main loop to toggle on PORT RH3 PLIB_PORTS_PinWrite...
View ArticlePIC32MX can not read flash via SPI. (Alleen Wang)
Hi All, i want to use the SPI2 to read flash. (MX25L12835F)But, i always read 0xff from SPI2.Please help to check my code. THANKS!!! // PIC32MX795F512L Configuration Bit Settings// 'C' source line...
View ArticleHow to use RF3 as a normal IO? (Zamuel_a)
I'm trying to use the RF3 pin as a normal IO on a PIC32MX470 but it doesn't work. I found out that this is used for the USB, but how do I disable and use it as a normal IO pin? I can't find any...
View ArticlePIC32 MZ ADCP best practice and errata question (MKC)
I am complete confused about the PIC32MZ ADCP erratafrom the errata Rev G Document (12/2014)I can see following errata The following ADC operating modes are not supported: • Software polling of ADC...
View ArticlePIC32MZ EC Starter Kit: Unable to connect to the target device (MonikaVD)
Hello!I was trying to program the PIC32MZ EC Starter Kit, PIC32MZ2048ECH144 revision A4, and suddenly the target connection doesn't work. I was trying to use the bootloader from harmony v1.03 but I...
View ArticlePIC (docmur)
Hey Guys I'm trying to get my PIC32MX360F256L to interface to a MCP23S08 IO Expander. My SPI is setup in Mode 0 0 with the following configuration: void init_spi1(){ unsigned int rData = 0; /* Step 1 -...
View Articleworking with SPI registers (PIC32) (check_1)
Hey, I have two basic questions: Number 1I was going through the reference manual of spi for PIC32. In that document there is an example with heading'Example 23-1: Initialization Code for 16-Bit SPI...
View ArticlePIC32MZ -> PIC32MZ SPI Communication (geotox)
Hey, guys, I'm back with a new question :DI'm trying to communicate between the two pic32mz controllers through spi. Master side is working good, I can see a signal on sck and sdo pins. Slave side is...
View ArticlePIC32MZ + SD Card communication (geotox)
Hey, guys! Can anyone tell me what is the best way to communicate SD Card and pic32mz controller? Is it possible not using harmony libs? Thanks!..
View ArticlePIC32MZ bootloader linker file (picuser)
I'm trying to get my linker file set-up for a PIC32MZ1024ECH064 chip. I've looked at the bootloader app and AN1388 but they don't seem to work for me. When I try to program the bootloader I get the...
View ArticlePIC32MZ Possible Cause of software reset (MKC)
Application stops from time to time due to software reset. The debugger execution Memory indicates that CPU is set to Reset address."0xBFC0_0000"Reset control register "RCON" value 0x0000-0040...
View ArticleFast integer sort (jrmymllr)
Not to be the (2^20)th person to ask this question, but I have 32 32-bit integers to sort and am trying to do it faster than the qsort function in XC32. I'm running a PIC32 at 2MHz (due to power...
View ArticlePIC 32 ETHERNET CONTROLLER(MIIM INTERFACE) need help (SAYAN)
Dear sir, I am a noob in in Ethernet controller in PIC32MX795F52L. so, i facing some problem using the Ethernet controller. I just does the ethernet controller on and i have conneted a phy named 'SMSC...
View ArticlePic32mz ec dma spi usb audio (littlehedgehog)
Hello,I have some problems with the topics mentioned above. I'm not sure, if I'm right here or if the harmony thread would be better, but I just give it a try.Following concrete problem:I try audio...
View ArticleProblems with UART Rx Interrupt for PIC32MZ2048ECM144 on Simulator (Abhay Sorte)
Hello, I am using PIC32MZ with MPLABX v2.30 and testing the UART code on simulator. But I am facing problems with Rx interrupt. I want generate Rx interrupt when a single character is received on uart,...
View Article[SOLVED] Exception handling on PIC32MZ part (MKC)
This question relates to MZ part only. I have problems to implement a exception handler. i have implemented the exception handler as i did on the MX part by implementing the function void...
View ArticlePIC24FJ128GB204 RA4 input only IO? (Adv_dev)
Hello All, For this processor the datasheet only stated RA4 is an input only IO can someone verify that for me? or know a way to set it as an output IO? Thanks!..
View Article