Hi Sparky
I see, thanks Sparky. While I'm reading sspbuf will the SPI module continue to clk out and shift bits into sspsr? The reason I'm trying to do this as quickly as possble, is the data sheet states, to meet the specifications a minimum clk frequency is 1MHz, due to sampling cap leakage.
Search found 187 matches
- 02 Nov 2018 11:07
- Forum: mikroC PRO for PIC General
- Topic: SPI 18 bits?
- Replies: 6
- Views: 2247
- 01 Nov 2018 23:38
- Forum: mikroC PRO for PIC General
- Topic: SPI 18 bits?
- Replies: 6
- Views: 2247
Re: SPI 18 bits?
Thank you is this a practical solution. Wait for the buffer overflow flag to set then read SSPBUF. I don't think that will work, I only have 3 maybe 4 instruction cycles to read the SSPBUF before the next bit comes in. I'll try as you suggested sparky. It's high z for the first clk pulse then zero, ...
- 01 Nov 2018 12:03
- Forum: mikroC PRO for PIC General
- Topic: SPI 18 bits?
- Replies: 6
- Views: 2247
SPI 18 bits?
I would like to use the ADC161S626 (16b 50-250ksps) with the PIC16F1719 8MIPs,hardware SPI clocked at 1MHz. SDO on the ADC is high Z for the first two clock pulses. Is there anyway to prevent the PIC from writing the first 2 bits to SPI buffer? Or is their another way to handle this? The min clk for...
- 09 Apr 2018 11:31
- Forum: mikroC PRO for PIC General
- Topic: Licence code not working
- Replies: 1
- Views: 1057
Licence code not working
I recently updated and try to enter my licence code but the activate button remains greyed out? I have not formatted my disk.
- 26 Dec 2016 01:56
- Forum: mikroC PRO for PIC General
- Topic: mikroC for PIC version 7 released
- Replies: 24
- Views: 8841
Re: mikroC for PIC version 7 released
I had the same problem seeAcetronics wrote:First bug ...
no way to activate my license ( software kind one ) with v7.0 ...
Alain
http://forum.mikroe.com/viewtopic.php?f=88&t=69121
- 26 Dec 2016 01:55
- Forum: mikroC PRO for PIC General
- Topic: Registration not working
- Replies: 5
- Views: 2622
Re: Registration not working
Hi flip
I got my license in my email, everything is working now.
Thank you.
I got my license in my email, everything is working now.
Thank you.
- 23 Dec 2016 19:44
- Forum: mikroC PRO for PIC General
- Topic: Registration not working
- Replies: 5
- Views: 2622
Re: Registration not working
My forum login name and password is not working for the help desk?
- 23 Dec 2016 13:53
- Forum: mikroC PRO for PIC General
- Topic: Registration not working
- Replies: 5
- Views: 2622
Registration not working
I installed the new version of the compiller and tried to register using mikroc_pro_for_pic_Reg that was sent to me several years ago and it doesn't work. The compiller is still unregistered. I run both as administer, tried it with the compiller open and closed, reboot after each attempt still no lu...
- 15 Sep 2016 01:43
- Forum: PIC32 Compilers General
- Topic: Most desired upgrades and enhancements for MikroE compilers
- Replies: 139
- Views: 3217457
Re: Most desired upgrades and enhancements for MikroE compil
90% of updates are about PIC's . If you follow my posts you know there is a deal between mikroelektronika and microchip. for example look at the AVR compiler or ARM stuff .... how many proposal do you see ? . zero .... ???? You're kidding right? Some PIC compilers haven't been updated in years. The...
- 10 Sep 2016 01:39
- Forum: PIC32 Compilers General
- Topic: Most desired upgrades and enhancements for MikroE compilers
- Replies: 139
- Views: 3217457
Re: Most desired upgrades and enhancements for MikroE compil
Hi mikroe Team, something very important is missing in that list. A tool to generate defs files for new MCU. This has been requested many times. Then we don't have to wait 2 years or more to use new devices. I understand files generated with such a tool cannot be supported by mikroe, but once it ca...
- 09 Jul 2016 01:01
- Forum: mikroC PRO for PIC General
- Topic: How to proceed without a device definition
- Replies: 4
- Views: 1761
Re: How to proceed without a device definition
Either find another chip that is supported by the compiller or use another compiller. The PIC compillers are not kept up to date and in some cases are lagging by years. Mplab is free. see http://forum.mikroe.com/viewtopic.php?f=101&t=49974&start=30 Basically if you buy a PIC compiller or any of thei...
- 08 Jul 2016 20:43
- Forum: mikroC PRO for PIC General
- Topic: Error main function is not defined
- Replies: 3
- Views: 2410
Re: Error main function is not defined
You have semicolon on line 14.
";"
After the closing bracket of your while loop.
";"
After the closing bracket of your while loop.
- 01 Jul 2016 15:30
- Forum: mikroC PRO for PIC General
- Topic: Where is DAC2CON1 register?
- Replies: 4
- Views: 1905
Re: Where is DAC2CON1 register?
Yes I noticed in the datasheet they refer to it as REF thats what made me look closer and discover that the bits match for the DACREF however this doesn't change the fact the register is titled DAC2CON1 which follows the convention for the 8b DAC which seems logical to me. They do also include in th...
- 01 Jul 2016 12:53
- Forum: mikroC PRO for PIC General
- Topic: Where is DAC2CON1 register?
- Replies: 4
- Views: 1905
Re: Where is DAC2CON1 register?
hello, use DACCONx like a normal 8 bit register.. it will ignore the MSB bits on a 12F1840 DAC with using VREF buffer=4.096V ( 5V on PIC VDD) DAC output = RA0 //VOLTAGE REFERENCE CONTROL REGISTER 1 DACCON0=0; // output 0 measured 24mV with a multimeter DACCONN0=16; // midle output measured 1955mV D...
- 30 Jun 2016 20:15
- Forum: mikroC PRO for PIC General
- Topic: Where is DAC2CON1 register?
- Replies: 4
- Views: 1905
Where is DAC2CON1 register?
As the title says. I'm using the PIC16F1717 and the latest compiller and it has no register to write for the 5b DAC2. There is one for the 8b one but not for the 5b one how could this be overlooked? I have to flip the bits one at a time wtf? link to a higher res screen grab. http://i64.tinypic.com/e...