Search found 26 matches

by glenlivet
07 Sep 2020 02:53
Forum: mikroProg™ programmer and debugger
Topic: mikroProg Suite with two programmers at the same time
Replies: 4
Views: 1660

Re: mikroProg Suite with two programmers at the same time

Filip, Would it work if I opened up two instances of mikroProg Suite and assigned one the Easy Pic V7 and the other the mikroProgrammer? Has it ever been tried? If I have to, I'll use the Pickit 3 with MPLAB IPE on the second CPU. Not my first choice for obvious reasons but if there is no workaround...
by glenlivet
03 Sep 2020 16:01
Forum: mikroProg™ programmer and debugger
Topic: mikroProg Suite with two programmers at the same time
Replies: 4
Views: 1660

mikroProg Suite with two programmers at the same time

Howdy all, I have a rather goofball project that requires me to do HW/SW development on two PIC MCU's simultaneously. (Why two you ask? Because the client wants it that way and so far all the checks have cashed...) The main (master) CPU is located on an Easy Pic V7, the slave CPU circuit is on a pro...
by glenlivet
24 May 2019 21:13
Forum: mikroBasic PRO for PIC General
Topic: Aliasing selected port bits
Replies: 1
Views: 899

Aliasing selected port bits

Hi all, Is there a way to alias selective port bits so that only those bits can be assigned as and read in as a variable? I'm talking specifically for example about reading PORTA bits 0, 1, 2 to set a multiplier value for a later calculation without having to get the rest of the bits in the port inv...
by glenlivet
14 Dec 2018 16:32
Forum: mikroBasic PRO for PIC General
Topic: Driving 2 LCD modules from 1 CPU
Replies: 4
Views: 1723

Driving 2 LCD modules from 1 CPU

I need to drive 2 separate 4-line displays (Hantronix HDM16416L). I'm using a common system wide data bus (RD0-RD7) to talk to all of the parallel bus chips in the system. It seems that in the LCD Hardware Library Declares I can only assign one RS pin and one Enable pin without the compiler bitching...
by glenlivet
19 Sep 2018 15:34
Forum: mikroBasic PRO for PIC General
Topic: SPI1_WRITE only works on bytes
Replies: 7
Views: 2337

Re: SPI1_WRITE only works on bytes

Filip, I'm familiar with what the data sheet says about the SPI shift registers being 8-bits. However to implement a compiler function in software to specify the variable type and/or the number of bits for the MSSP to read/write would be a very useful library function. I'm sure I'm not the first use...
by glenlivet
19 Sep 2018 02:50
Forum: mikroBasic PRO for PIC General
Topic: SPI1_WRITE only works on bytes
Replies: 7
Views: 2337

SPI1_WRITE only works on bytes

I am writing control code (PIC 16F1847) for the AD9834 DDS Chip. It wants it's register data for the configuration register in word format, frequency data written in 2-words (LSB and MSB) and the Phase data in one word but SPI1_Write only writes in byte format. Why???? Breaking up the data and doing...
by glenlivet
05 Sep 2018 22:58
Forum: mikroBasic PRO for PIC Wish List
Topic: Mods to Software SPI Library
Replies: 1
Views: 1791

Mods to Software SPI Library

I'd like to have the ability in the Software SPI library to choose some data perimeters like whether the CLK idles high or low, whether you want to march the bits in LSB first or MSB first, and perhaps be able to select which bits of the transmitted value go in.
by glenlivet
05 Sep 2018 22:53
Forum: mikroBasic PRO for PIC General
Topic: Software SPI Clock Idle
Replies: 1
Views: 862

Software SPI Clock Idle

I am trying to use the software SPI library. My bugaboo is that the soft_CLK signal idles low. The chip I'm using (AD9834) really prefers CLK to idle high.
Is there a workaround for this? Yes, I can add in an inverter but adding in a part seems a bit nuts when it should be a simple software solution?
by glenlivet
04 Aug 2018 03:25
Forum: mikroProg™ programmer and debugger
Topic: Error programing PIC16f628A
Replies: 5
Views: 2944

Re: Error programing PIC16f628A

I'm having the same problem with my EasyPIC V7 board. Mikro Programming Suite insists my 16F628A is a 12F508. Just for yucks I externally socketed the '628A and tried programming it using a PicKIT3 and MPLAB IPE which worked fine. It's not necessary to pull down RB4 to program the darn thing and I s...
by glenlivet
04 Aug 2018 03:24
Forum: mikroProg™ programmer and debugger
Topic: MCU not recognized correctly (12F508 instead of 16F628A)
Replies: 4
Views: 4986

Re: MCU not recognized correctly (12F508 instead of 16F628A)

I'm having the same problem with my EasyPIC V7 board. Mikro Programming Suite insists my 16F628A is 12F508. Just for yucks I externally socketed the '628A and tried programming it using a PicKIT3 and MPLAB IPE which worked fine. It's not necessary to pull down RB4 to program the darn thing and I sus...
by glenlivet
03 Aug 2017 05:38
Forum: mikroBasic PRO for PIC32 General
Topic: mikroBasic PRO for PIC32 v4 with VTFT a complete disaster
Replies: 1
Views: 2447

mikroBasic PRO for PIC32 v4 with VTFT a complete disaster

So, I upgraded my mikroBasic PRO for PIC32 to Vers. 4.0.0 with the built in Visual TFT and activated the built in VTFT using my existing activation code. After importing the VTFT project I have been working on, ALL of my EVENTS properties( i.e. DrawScreen) have ceased working. Not to mention that th...
by glenlivet
03 Aug 2017 03:55
Forum: Visual TFT Wish List
Topic: Dials - gauges
Replies: 3
Views: 5301

Re: Dials - gauges

I second and third the Dials and Gauges request. I have an automotive app I'm working on and at present it looks really dorkey!
by glenlivet
24 Jun 2017 04:15
Forum: mikroBasic PRO for PIC General
Topic: Delay_ms, Delay_us- Possible bug or am I missing something
Replies: 1
Views: 1496

Delay_ms, Delay_us- Possible bug or am I missing something

I'm using Delay_us to toggle a pin on for 25us and off for 25us on a 16F1847 (32Mhz INTOSC). The timing was not coming out as expected so when I scoped out the pin (RA0) I find that the pulse width is actually 100us and the period is 200us. This is four times what I expected to see on the scope. I w...
by glenlivet
08 Jun 2017 04:20
Forum: mikroBasic PRO for PIC Wish List
Topic: I vote to add Timer/Counter Libraries to the wish list
Replies: 1
Views: 2208

I vote to add Timer/Counter Libraries to the wish list

I just began a project for a client that uses a NEMA 37 stepper motor. The motor and hybrid drive the client spec'd out have no provision for an encoder so I'm going to have to count the speed pulses in order to do the motor positioning. That's when I noticed there were no hardware libraries for the...
by glenlivet
18 Apr 2017 03:04
Forum: mikroBasic PRO for PIC General
Topic: PPS Mapping Library-Making a pin bidirectional
Replies: 1
Views: 2688

PPS Mapping Library-Making a pin bidirectional

Hi All, How do I remap a pin to make it bidirectional? I need to remap the SCL(RC0) and SDA(RC1) pins on a 16LF1705 to RC3 and RC4 respectively to read/write to an EEPROM on an EasyPIC v7 development board. The PICbasic PRO PPS documentation isn't really clear on the procedure or if it is even possi...

Go to advanced search