Search found 164 matches
- 05 Mar 2012 20:54
- Forum: mikroC PRO for PIC General
- Topic: CAN communication using SAE J1939 standard
- Replies: 2
- Views: 1854
Re: CAN communication using SAE J1939 standard
i found a nice software called MBTime, which calculates all timing constants for PIC's CAN. Unfortunately, my PIC18F26K80 is not working correctly OR It's CAN library problem. if i initialize CAN using CANInitialize() function, set operation mode to NORMAL and writes some data every loop,i found, th...
- 02 Mar 2012 21:26
- Forum: mikroC PRO for PIC General
- Topic: CAN communication using SAE J1939 standard
- Replies: 2
- Views: 1854
CAN communication using SAE J1939 standard
Hello, I have problems to initialize CAN right. I am using recommended chip MCP2551 and i would like to initialize that module for recieving data from CAN bus of trucks. Could you please help me, how to initialize and set up CAN for listen mode and correct timmings ? Let's say, my PIC is running at ...
- 19 Mar 2011 19:59
- Forum: mikroC PRO for PIC General
- Topic: usart and interrupt [18lf13k22]
- Replies: 1
- Views: 964
usart and interrupt [18lf13k22]
Hi, i am having problem with interrupt when i recieve data from serial cable. i have tried these settings INTCON = 0b11000000; IPEN_bit = 1; RCIP_bit = 1; RCIE_bit = 1; what i forgot to set ? my function is: void interrupt() { LED = 1; } just turn led on :) TX interrupt is working. Please :) show me...
- 27 Jan 2011 16:06
- Forum: Development Boards
- Topic: mikroMMBmx4, SD reading
- Replies: 3
- Views: 1492
Re: mikroMMBmx4, SD reading
thanks god .. i really don't like MPLAB ide.
i will wait for pic32 compiler Alpha version will be only for people, who have bought pic32 compiler or for everyone ?
i will wait for pic32 compiler Alpha version will be only for people, who have bought pic32 compiler or for everyone ?
- 26 Jan 2011 18:36
- Forum: Development Boards
- Topic: mikroMMBmx4, SD reading
- Replies: 3
- Views: 1492
mikroMMBmx4, SD reading
Hello, I don't know why, but i have a problem with reading values from files. Firstly, i wanted to make BMP loader, but image displayed always wrong, so i thought, it's just a problem in my code, bad offset etc. So i did a small program in .NET, which loads image and saves it into binary file like: ...
- 14 Jan 2011 15:35
- Forum: mikroC PRO for PIC General
- Topic: nested interupts - multitasking
- Replies: 8
- Views: 2543
Re: Interupts :)
i got it :) who has LV24-33 board, he can try it. i know, it's not RTOS, but tasks are working :) BEcause i bought mikroMMB board, my first idea was to make this ... few tasks, which will not wait for each other. So, in my example ... task 0 contain delay, task 1 is changing ports and task 2 is disp...
- 14 Jan 2011 13:21
- Forum: mikroC PRO for PIC General
- Topic: nested interupts - multitasking
- Replies: 8
- Views: 2543
Re: Interupts :)
Delay_ms is only for demonstration, that interruption works.
I added source file, if you wanna see, what I am exactly doing.
I added source file, if you wanna see, what I am exactly doing.
- 14 Jan 2011 09:28
- Forum: mikroC PRO for PIC General
- Topic: nested interupts - multitasking
- Replies: 8
- Views: 2543
Re: Interupts :)
Ok, i am just doing my own multitasking with few tasks .. one task is interuptable, two not. It's all in interupt function. Let's say, i will put a delay into interruptable task, so, when timer overflow again, i would like to call interrupt function again, so it will run other task. it will not run ...
- 14 Jan 2011 00:15
- Forum: mikroC PRO for PIC General
- Topic: nested interupts - multitasking
- Replies: 8
- Views: 2543
Re: Interupts :)
I am using PIC24FJ96GA010
yes, i read about priorities, but how to use more interupts ? I am using only timer1 interupt.
yes, i read about priorities, but how to use more interupts ? I am using only timer1 interupt.
- 13 Jan 2011 22:22
- Forum: mikroC PRO for PIC General
- Topic: nested interupts - multitasking
- Replies: 8
- Views: 2543
nested interupts - multitasking
Hello, I have perhaps stupid question :) but can i interupt an interupt function ? :) I am just trying to do simple multitasking and when i am doing task in function, which was called from interupt function, can i somehow interupt that function ? thank you :D EDIT: i got it working as i wanted. // G...
- 12 Jan 2011 17:17
- Forum: Development Boards
- Topic: mikroMMB PIC32MX4 SD card problem
- Replies: 7
- Views: 2650
Re: mikroMMB PIC32MX4 SD card problem
slavisa.zlatanovic: mail sent.
so, i have bought Kingston 4GB, still not working.
so, i have bought Kingston 4GB, still not working.
- 12 Jan 2011 15:17
- Forum: Development Boards
- Topic: mikroMMB PIC32MX4 SD card problem
- Replies: 7
- Views: 2650
Re: mikroMMB PIC32MX4 SD card problem
Thank you for reply.
Your program is not working too. So, I am thinking of buying kingston card, but it's strange, that my card is working on LV33_24 board using MicroC. So, i will prepare photos for you.
Your program is not working too. So, I am thinking of buying kingston card, but it's strange, that my card is working on LV33_24 board using MicroC. So, i will prepare photos for you.
- 12 Jan 2011 10:43
- Forum: Development Boards
- Topic: mikroMMB PIC32MX4 SD card problem
- Replies: 7
- Views: 2650
Re: mikroMMB PIC32MX4 SD card problem
i measured the card. card returns only 0x00 when initializing. that's all.
So, where is a problem ? if the card is working with the LV33_24 board perfectly. the MDD library ? perhaps, Card is returning slightly different data ?
So, where is a problem ? if the card is working with the LV33_24 board perfectly. the MDD library ? perhaps, Card is returning slightly different data ?
- 11 Jan 2011 11:31
- Forum: Development Boards
- Topic: mikroMMB PIC32MX4 SD card problem
- Replies: 7
- Views: 2650
Re: mikroMMB PIC32MX4 SD card problem
Hello, i wrote a ticket few days ago about that problem. I have three SD cards only (one is microSD) and i own LV33_24 board with SD slot. I tested them with MikroC examples and all are working in RAW mode and only one is working with FAT16 (that the microSD). Other cards says, fat not found. So, wh...
- 07 Jan 2011 21:40
- Forum: Development Boards
- Topic: mikroMMB PIC32MX4 SD card problem
- Replies: 7
- Views: 2650
mikroMMB PIC32MX4 SD card problem
Hello,
I bought SD card RiData 4GB, i formatted it with FAT16.
Unfortunately, i can't initialize it. Where can be a problem ?
I tested Test example and wav example, both can'T initialize card.
thank you
I bought SD card RiData 4GB, i formatted it with FAT16.
Unfortunately, i can't initialize it. Where can be a problem ?
I tested Test example and wav example, both can'T initialize card.
thank you