Search found 28 matches

by Synergy6
Fri Feb 02, 2018 12:57 pm
Forum: Flowcode V7
Topic: 320x240 glcd
Replies: 1
Views: 2233

Re: 320x240 glcd

Hi, I dont think there is a component in flowcode for the RA8835. I did a while ago have a play with this chip, very powerful but absolutely riddled with bugs. You can use the SPI component in flowcode to send data to and from the controller, the commands are pretty straight forward and there are ex...
by Synergy6
Fri Feb 02, 2018 12:41 pm
Forum: Flowcode V7
Topic: Microcontroller USB Mass Storage device.
Replies: 1
Views: 2237

Microcontroller USB Mass Storage device.

Hi,
Has anyone managed to use a microcontroller as a mass storage device in flowcode?

I would like to have a microcontroller communicate with a PC or phone using no drivers or software. The microcontroller will behave as a mass storage device where a file created can be downloaded.

Thanks
by Synergy6
Thu Feb 01, 2018 7:34 pm
Forum: Flowcode V7
Topic: Output a PDF file.
Replies: 1
Views: 2009

Output a PDF file.

Hi, I would like to explore the possibility of an idea. I would like to have a microcontroller (not yet determined) output a PDF file to a PC. The device would collect variety of data, when required the user would plug the device into a computer. The device would then give access to PDF daily logs. ...
by Synergy6
Sun Aug 13, 2017 4:23 pm
Forum: Flowcode V7
Topic: UART ON PIC16F1613
Replies: 2
Views: 2403

Re: UART ON PIC16F1613

My mistake.

I just checked myself and found its the PIC16F1614 that has the UART hardware.
by Synergy6
Sat Aug 12, 2017 2:20 pm
Forum: Flowcode V7
Topic: UART ON PIC16F1613
Replies: 2
Views: 2403

UART ON PIC16F1613

Hi.

I am using a PIC16F1613. Attempting to use UART. However there is no hardware option available in the properties.
Can you fix this please.
Also can you check when doing so that the RXINT will be working.

Thanks

EDIT: Also, what would the possibility of getting IOC interrupts working on PORT C?
by Synergy6
Thu Jun 29, 2017 2:38 pm
Forum: Flowcode V7
Topic: RXINT on PIC16F18875 - Solved
Replies: 3
Views: 3529

Re: RXINT on PIC16F18875

Hi,
This has solved my problem. Please mark as solved.
by Synergy6
Wed Jun 28, 2017 10:05 pm
Forum: Flowcode V7
Topic: Enc28j60 HTTPS??
Replies: 1
Views: 2442

Enc28j60 HTTPS??

Hi. I am new to ethernet based projects. We are working on a project where sensors talk to a central hub and send the details to a website api. The web guys have advised that when selecting an ethernet controller i make sure it can support HTTPS due to the security that they will be implementing. Ho...
by Synergy6
Mon Jun 26, 2017 5:01 pm
Forum: Flowcode V7
Topic: RXINT on PIC16F18875 - Solved
Replies: 3
Views: 3529

Re: RXINT on PIC16F18875

Thanks Ben, I shall try that this evening.
by Synergy6
Mon Jun 26, 2017 1:38 am
Forum: Flowcode V7
Topic: RXINT on PIC16F18875 - Solved
Replies: 3
Views: 3529

RXINT on PIC16F18875 - Solved

Hi. So since flowcode doesn't yet support the PIC16F18875 in I2C slave mode i thought i would see about using the UART. Fortunately it has remappable pins and i was able to reuse the pins i had set for the I2C. PORTC4 = TX PORTC3 = RX I have good communication both ways. However putting the receive ...
by Synergy6
Fri Jun 09, 2017 4:26 pm
Forum: Flowcode V7
Topic: PIC16F18875 and I2C Slave
Replies: 6
Views: 5010

Re: PIC16F18875 and I2C Slave

Oh, thats a shame.
It was one of the main reasons we decided to trial FC7.

A little disappointing that after 7 versions of flowcode slave devices still arent there.
by Synergy6
Fri Jun 09, 2017 4:11 pm
Forum: Flowcode V7
Topic: PIC16F18875 and I2C Slave
Replies: 6
Views: 5010

Re: PIC16F18875 and I2C Slave

So to clarify, the I2C slave will be usable even in software mode??
I take it that i cannot then use hardware interrupt for I2C to flag incoming traffic?
by Synergy6
Fri Jun 09, 2017 2:53 pm
Forum: Flowcode V7
Topic: PIC16F18875 and I2C Slave
Replies: 6
Views: 5010

PIC16F18875 and I2C Slave

Hi.
I am attempting to use the I2C slave on PIC16F18875.
In the properties i seem to be unable to select a channel. I only have option for "software" I would have preffered to use the hardware channel on PORTC.4 and PORTC.3 which appear to be remappable pins.

Is it possible to do this?
by Synergy6
Sat Jun 03, 2017 12:12 am
Forum: General Programming
Topic: Array storage while sleeping
Replies: 4
Views: 5050

Re: Array storage while sleeping

Hi, The chip is possibly going to be PIC18LF25K22. As for sleep modes, no idea as of yet, i didnt realise there were more than one setting. It will be the setting that requires least power. I dont think EEPROM will be suitable as we will be constantly reading and writing to it so it will wear over t...
by Synergy6
Wed May 31, 2017 2:06 pm
Forum: General Programming
Topic: Array storage while sleeping
Replies: 4
Views: 5050

Array storage while sleeping

Hi, I am working on a project and need to get a clear answer on a potential problem. We are using a PIC to communicate with a sensor. This sensor has some data that needs to be read initially in order to use it in formulating the output. This data will be pulled upon startup and stored in an array. ...
by Synergy6
Tue Apr 25, 2017 3:15 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Re: Audio from PIC SPI

Ben, Maybe you can help with something.

The PWM on the DSPIC33, it seems to be split into 2 pins, a High and a Low.
How does this work? Can i essentially use the PWM as a 16bit DAC?

If it were 1 16bit PWM pin then i could understand it, but since its split i dont get how it could be used?
by Synergy6
Fri Apr 21, 2017 8:03 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Re: Audio from PIC SPI

So i have chosen a DAC for this project. 16bit DAC are silly money and a bit over complicated for my needs. So i have gone for a 12bit DAC. I am told that the loss of quality will be minimal and hardly even noticeable.
by Synergy6
Thu Apr 20, 2017 6:32 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Re: Audio from PIC SPI

The MU series are physically too big for the application, space is limited. I have just checked the datasheet for the,

DSPIC33EP32MC202 and it says it can do 60MIPS, In the description it said 60MHz which is why i dismissed it. Its on the flowcode list so i think i should be good to go.
by Synergy6
Thu Apr 20, 2017 6:03 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Re: Audio from PIC SPI

I have actually just realised that this PIC is not supported in Flowcode. The MC version is but its not as fast.
Is this chip a no go Ben?
by Synergy6
Thu Apr 20, 2017 5:13 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Re: Audio from PIC SPI

I did look at the GP and MC versions, but they run at half the speed. Only 60MHz instead of 140MHz.

There shouldnt be a problem using the GS version should there??
by Synergy6
Thu Apr 20, 2017 4:40 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Re: Audio from PIC SPI

Slightly off topic but i just need to clarify something...

On the DSPIC33EP32GS202 that i have selected to use, The chip doesnt have any specific SPI port. Instead there are "RPxx" pins.
Is there any restriction as to which pin can be mapped for a specific task??
by Synergy6
Thu Apr 20, 2017 3:20 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Re: Audio from PIC SPI

Hi Ben, Thanks for the quick reply. Timer is a good shout, i think i can work that one out. PIC Speed, is it simply a case of faster the better? I assume that if streaming at 44.1KHz but clock speed of 140MHz then there is loads of time between interrupts to be gathering data from the memory. If thi...
by Synergy6
Thu Apr 20, 2017 2:40 pm
Forum: Flowcode V7
Topic: Audio from PIC SPI
Replies: 17
Views: 9627

Audio from PIC SPI

Hello, I am currently in the process of designing an audio player. The plans is as follows, PIC Microcontroller (receives commands via I2C on which file to play, Outputs file data via SPI) SPI DAC, Takes SPI data and turns it analogue (better than PWM??) Audio amplifier (D CLASS, takes analogue data...
by Synergy6
Sat Jan 28, 2017 6:54 pm
Forum: Flowcode V7
Topic: USB Memory Stick PIC24/PIC32
Replies: 7
Views: 5785

Re: USB Memory Stick PIC24/PIC32

Hi

For the purpose of only reading/writing to USB flash drive this is too expensive for our end product.
I would rather spend this on more functional components such as WiFi or a more capable microcontroller.

I think i might have a bash at writing the USB firmware and see how far in i can get.
by Synergy6
Sat Jan 28, 2017 11:02 am
Forum: Flowcode V7
Topic: USB Memory Stick PIC24/PIC32
Replies: 7
Views: 5785

Re: USB Memory Stick PIC24/PIC32

Hi Steve. I have breifly looked at the vdrive. Our project is price sensitive so such devices in this instance are not suitable. I am currently torn between SD card or USB. SD card makes for easier coding but has its downsides in terms of customer useability and also how it would fit in our design. ...
by Synergy6
Fri Jan 27, 2017 1:12 am
Forum: Flowcode V7
Topic: USB Memory Stick PIC24/PIC32
Replies: 7
Views: 5785

Re: USB Memory Stick PIC24/PIC32

Hi Ben. Would an AVR bootloader be very much different to PIC24? If it would follow a similar type of code, would it be at all possible to get a look at your AVR bootloader please. Assuming of course it was written in flowcode? An SD card would be easier i admit, from an end user point of view im no...