Search found 20 matches

by divivoma
25 May 2016 06:55
Forum: mikroBasic General
Topic: RFID Board Example
Replies: 6
Views: 6262

Re: RFID Board Example

Hi Aleksander I am using the fusion board with mcu card and PIC24FJ128GA310. I have added a new topic because of different hw here: http://forum.mikroe.com/viewtopic.php?f=101&t=67756 With the fusion board i noticed that there is no 5v supply selectable.. For this i took the 5v supply from the usb p...
by divivoma
20 May 2016 19:17
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: RFID Reader example not working on EasyPICFusion - PIC24
Replies: 0
Views: 11931

RFID Reader example not working on EasyPICFusion - PIC24

Hello All, I' m facing the same issue described here but on PIC24FJ128GA310 on EasyPICFusionv7: http://forum.mikroe.com/viewtopic.php?f=101&t=55292 Below my complete code, running @8MHz or 32MHz no difference were found: (For the sake of clarity I don't post the CRC_Check() that is always the same.....
by divivoma
20 May 2016 18:27
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: RFID Module and DSPIC33
Replies: 4
Views: 4667

Re: RFID Module and DSPIC33

Hello Filip, Please could you describe me better how this issue was solved? I'm facing exactly the same issue with the PIC24FJ128GA310 on EasyPICFusion.. I've also tried defining: //pin def: sbit RFID_OUT at RB0_bit;//INPUT used for the sync interrupt sbit RFID_RDY_CLK at RB1_bit;//INPUT sbit RFID_S...
by divivoma
20 May 2016 17:56
Forum: mikroBasic General
Topic: RFID Board Example
Replies: 6
Views: 6262

Re: RFID Board Example

Hello All, any answer to the above question?
I'm facing the same issue with you RFID Reader.

I've noticed that the 8-bit example is working properly but not the 24bit example stored in the dsPic folder.

Any suggestions?

Thank you
Marco
by divivoma
11 May 2016 15:59
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: External Interrupt check
Replies: 2
Views: 2807

Re: External Interrupt check

PROBLEM SOLVED:

By manually setting the RPn :

Code: Select all

Unlock_IOLOCK();
RPINR0bits.INT1R = 12;
RPINR1bits.INT2R = 3;
Lock_IOLOCK();
Calling the PPS function in the way listed above is not working..
Maybe there is some special way to call the PPS function properly?

Thank you,

Marco
by divivoma
10 May 2016 17:44
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: External Interrupt check
Replies: 2
Views: 2807

Re: External Interrupt check

Hello all, I've found the first error here and it was the wrong register used: I EC 1.INT1IE =1; //Enable external interrupt INT1 I EC 1.INT2IE =1; //Enable external interrupt INT2 Instead of I FS 1.INT1IE =1; With this modification I'm able to trigger only the INT1 but not the INT2. I think the pro...
by divivoma
09 May 2016 19:18
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: External Interrupt check
Replies: 2
Views: 2807

External Interrupt check

Hello All, I'm trying to use the EXT INT1 and EXT_INT2 of PIC24FJ256GB110. I'm using PPS in order to map these 2 interrupt to pin RD11 (RDP12) and RD10 (RP3). I've followed the datasheet instruction by setting them as input in TRISD and then calling the proper ISR on a simple button press (rising ed...
by divivoma
03 May 2016 19:13
Forum: Website & Forums General Discussion
Topic: Sw example for PIC24F External Interrupt
Replies: 1
Views: 3660

Sw example for PIC24F External Interrupt

Hello All,

I've tried to search for a code example that use External Interrupt for PIC24F on the web but with poor success.
Could somebody help me in this research ?
Any project example will be good because I'm starting to work with the ISR just from few weeks.
Thank you in advance.

Marco
by divivoma
15 Jul 2015 11:09
Forum: Development Boards
Topic: UART 2 issue on EasyPIC Pro v7
Replies: 1
Views: 1204

UART 2 issue on EasyPIC Pro v7

Hello All, First of all I describe my hw: -EasyPIC pro v7 with the standard micro sold with the dev board - I saw that the micro pcb has a 16MHz quartz I've tried the example code of the UART 2 (with RS 232 not via USB) but I read wrong characters. I've already set up the DIP switch properly in orde...
by divivoma
19 Jun 2015 15:47
Forum: Development Boards
Topic: RFid click example for Easypic 7 PRO
Replies: 1
Views: 1181

Re: RFid click example for Easypic 7 PRO

Hello,

I've just noticed that the RB0 and RB1 pin are connected to both the GLCD CS and also the MikroBUS INT pin!

Also the RB2 is connected to a GLCD pin and the MikroBUS 3 INT..

Does this mean that it is not possible to use the GLCD while using MikroBus modules?


Thank you in advance.

Marco
by divivoma
19 Jun 2015 15:22
Forum: mikroC PRO for PIC General
Topic: RFID Click, wrong ID detected
Replies: 8
Views: 3063

Re: RFID Click, wrong ID detected

Hi, Of course, please check the attached file. Or here: // Write command to the CR95HF void writeCmd(unsigned short cmd, unsigned short dataLen){ unsigned short i = 0; CS = 0; SPI1_Write(0x00); // Send cmd to CR95HF SPI1_Write(cmd); SPI1_Write(dataLen); while (dataLen == 0) { CS = 1; break; } for(i=...
by divivoma
19 Jun 2015 13:05
Forum: Development Boards
Topic: RFid click example for Easypic 7 PRO
Replies: 1
Views: 1181

RFid click example for Easypic 7 PRO

Hello All, Is it possible to have a suitable example of the RFid Click board also for the Easypic 7 pro dev board? I've tried to adapt the example of the EasyPic 7 by changing the pin configuration as below: // RFID Click Connections sbit SSI_1 at LATA.B0;//AN --> was RA2 now RA0 sbit SSI_0 at LATC....
by divivoma
09 Jun 2015 09:10
Forum: mikroC PRO for PIC General
Topic: RFID Click, wrong ID detected
Replies: 8
Views: 3063

Re: RFID Click, wrong ID detected

esarearthur wrote:I will recommend you implement all reads in interrupt, this will prevent you from missing some timing when data is coming in.

Regards
Hi Esarearthur,

Could you make me a short example?
The interrupt should be generated by the transceiver via the IRQ_OUT right?

Thank you in advance.

Marco
by divivoma
28 May 2015 17:52
Forum: mikroC PRO for PIC General
Topic: RFID Click, wrong ID detected
Replies: 8
Views: 3063

Re: RFID Click, wrong ID detected

Ok, thank you for the hints.

Just a question, where did I find the right ID of the tag ?
Is it write somewhere?

I've attached an example of tag that I bought from your side where I can see a string of number on the top.
Is this the tag ID or is only a vendor ID number?

Thank you in advance.

Marco

Go to advanced search