Search found 8 matches

by JamesDuan
15 May 2019 19:16
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: dspic33ep512mu810 flash_write Turn off SPI and DMA
Replies: 1
Views: 903

dspic33ep512mu810 flash_write Turn off SPI and DMA

Hi, I am using SPI and DMA to get some temperature data from 6 channel external adc. I shift chip select through SPI interrupt. Whenever I use flash write, the SPI and DMA module will stop in a few second and send some dummy data. After flash_write is done, my DMA transmitting data sequence got shif...
by JamesDuan
27 Feb 2019 01:51
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: dsPic33EP512MU810 external interrupt
Replies: 3
Views: 1382

Re: dsPic33EP512MU810 external interrupt

I already solve that problem. Because that interrupt is open drain
by JamesDuan
27 Feb 2019 01:50
Forum: mikroC General
Topic: dsPIC33EP512MU810 ENC28J60 Ethernet connection
Replies: 1
Views: 1741

dsPIC33EP512MU810 ENC28J60 Ethernet connection

Hi, I am using SPI_Ethernet library to establish the connection between my ENC28J60 and router. My SPI bus is working fine. But when i use SPI_Ethernet_confNetwork(ipMask, gwIpAddr, dnsIpAddr), I can not catch any packet in SPI bus. I have a question where you save the ipmask, gateway ip address, an...
by JamesDuan
22 Feb 2019 22:50
Forum: mikroC General
Topic: dsPIC33EP512MU810 ENC28J60 Ethernet connection
Replies: 1
Views: 1922

dsPIC33EP512MU810 ENC28J60 Ethernet connection

Hi, I would like to use static IP address to connect my MCU to router through ENC28J60. I attached my project in this post. I always failed to connect my MCU to router. I already test static connection method through my computer and it worked. Btw I can not received any packets from ethernet based o...
by JamesDuan
18 Jan 2019 01:05
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: dsPic33EP512MU810 external interrupt
Replies: 3
Views: 1382

dsPic33EP512MU810 external interrupt

I would like use external interrupt for a touch screen chip. I could successfully configure the TFT chip right now. But fail to trigger my interrupt. I think I have correct configuration about my MCU. void STMPE610_check_tp() iv IVT_ADDR_INT2INTERRUPT{ Check_TP(); STMPE610_WriteReg(0x0B, 0xFF);//cle...
by JamesDuan
15 Jan 2019 19:48
Forum: Development Boards
Topic: "Mikromedia_Plus_for_STM32_ARM" Touch Interrupt
Replies: 10
Views: 4288

Re: "Mikromedia_Plus_for_STM32_ARM" Touch Interrupt

Hi,

I also could successfully use active low interrupt on STMPE811.
But I would like to use active high interrupt or edge interrupt. It all failed.
Is there any suggestions.

Thanks a lot,
James Duan
by JamesDuan
09 Jan 2019 02:06
Forum: Development Boards
Topic: "Mikromedia_Plus_for_STM32_ARM" Touch Interrupt
Replies: 10
Views: 4288

Re: "Mikromedia_Plus_for_STM32_ARM" Touch Interrupt

Hi, Are you successful to get that interrupt? I am doing the same as you. gonna to move Check_TP function into an external interrupt in my MCU. I could use I2C to configure my INT in STMPE610. And the data of INT_EN and INT_STA are correct. But my interrupt port always keep high voltage. Is there an...
by JamesDuan
09 Jan 2019 00:26
Forum: Development Boards
Topic: STMPE610 Check_TP external interrupt
Replies: 1
Views: 985

STMPE610 Check_TP external interrupt

I would like to put Check_TP function into an external interrupt. I could use STMPE610 library in software. And could successfully change the configuration of interrupt setting. But I always receive a high voltage at TP_INT port. Do you have any suggestions to solve that problem.

Go to advanced search