Search found 77 matches

by Jörg Güldner
Thu Jan 18, 2018 6:08 pm
Forum: Feature requests
Topic: I2C Slave with PIC24F16KA301/302/304
Replies: 2
Views: 5509

Re: I2C Slave with PIC24F16KA301/302/304

Hello Benj, I try with PIC24FV16KA301 and it works, well done. We will now replace a lot of components in our new design. My simple program is attached. I send from a master two 3bytes values to the slave and do some restriction with the result to a port pin. With these possibility I could write a s...
by Jörg Güldner
Sat Jan 13, 2018 10:02 am
Forum: Feature requests
Topic: I2C Slave with PIC24F16KA301/302/304
Replies: 2
Views: 5509

I2C Slave with PIC24F16KA301/302/304

Hello Matrix team, I already describe in the 16bit area this following situation: I need to fix a problem in replacing a 16 bit IO I2C with a controller. The Master sends at 100 kHz without time-out: chip-address + R/W -/- register-address -/- databyte In this case, the pic24 has about 50us to recei...
by Jörg Güldner
Wed Jan 10, 2018 7:00 am
Forum: 16-Bit PIC
Topic: I2C Slave with PIC24F16KA301/302/304
Replies: 0
Views: 6241

I2C Slave with PIC24F16KA301/302/304

Hello, I need to fix a problem in replacing a 16 bit IO I2C with a controller. The Master sends at 100 kHz without time-out: chip-address + R/W -/- register-address -/- databyte In this case, the pic24 has about 50us to receive and process the data. In which way I have to handle the received data? A...
by Jörg Güldner
Wed May 31, 2017 1:54 pm
Forum: Bug reports
Topic: PIC24FV32KA304 and INT0 --> BUG !!!!!
Replies: 11
Views: 13783

Re: PIC24FV32KA304 and INT0 --> BUG !!!!!

Hello LeighM,
what is about the idea in the first text-block from me on monday?
Did you discuss this in your development round?
Is it not a good way to setup all in the beginning of the program?
That makes the program shorter and quicker.


Best regards
Jörg
by Jörg Güldner
Mon May 29, 2017 8:32 pm
Forum: Bug reports
Topic: PIC24FV32KA304 and INT0 --> BUG !!!!!
Replies: 11
Views: 13783

Re: PIC24FV32KA304 and INT0 --> BUG !!!!!

If I´m understand right, a calculation-box will be used with c-lines to managed this situation. If yes, where is the philosophy of flowcode with the c-boxes? If you set up a uart channel, you take the belonging component and choose "init". Is it not a good way to do it with ports, too? In the beginn...
by Jörg Güldner
Tue May 16, 2017 3:54 pm
Forum: Bug reports
Topic: PIC24FV32KA304 and INT0 --> BUG !!!!!
Replies: 11
Views: 13783

Re: PIC24FV32KA304 and INT0 --> BUG !!!!!

Hello Matrix-Team, I´ve now problems with the PIC16F1825. The c-port was used with differant functions. Here happens the same as with the PIC24FV32KA304. A high signal coming out on one port pin was sometimes only as a glich to see. Replace the output boxes with c-lines resolve this problem! Have yo...
by Jörg Güldner
Mon Feb 27, 2017 9:03 am
Forum: Feature requests
Topic: Display of macros
Replies: 1
Views: 2169

Display of macros

Hi matrix team, in most of my programs are a lot of macros. To sort them I´ll put in the front name a number "_01". After a new start they are not standing sorted in the row. That`s one point. Another point is, that I could not switch directly from macro to macro. I must search by clicking the arrow...
by Jörg Güldner
Wed Dec 21, 2016 10:54 am
Forum: Bug reports
Topic: OLED (SPI) chip SSD1306 & 24FV16KA301
Replies: 1
Views: 6318

OLED (SPI) chip SSD1306 & 24FV16KA301

Hello matrix team, I tried a OLED (SPI) with flowcode 6. The SSD1306-Buffered-component is working fine. The other Components of the SSD1306 gives differant results. Please have a look to the attached PDF. If you found and correct something, can you do it for Version7, too? Advice: 01.) Clearing onl...
by Jörg Güldner
Mon Nov 14, 2016 2:14 pm
Forum: Bug reports
Topic: PIC24FV32KA304 and INT0 --> BUG !!!!!
Replies: 11
Views: 13783

Re: PIC24FV32KA304 and INT0 --> BUG !!!!!

Hello Benj, the same happens by counting with timer and toggle out a pin. Please have a look to the link below, I reported some days ago. After clicking to the link scroll a little bit down and then you will see a screenshot from my oscilloscope. https://www.matrixtsl.com/mmforums/viewtopic.php?f=54...
by Jörg Güldner
Sun Nov 13, 2016 10:10 am
Forum: Bug reports
Topic: PIC24FV32KA304 and INT0 --> BUG !!!!!
Replies: 11
Views: 13783

Re: PIC24FV32KA304 and INT0 --> BUG !!!!!

Hello Benj, I visit the electronica in munich and discuss my problem with microchip face to face. They said, that the ports today are very complex and can set up for varius functions. This setup has to be done at first in the program in main!!! If you change something later, while the program runs n...
by Jörg Güldner
Mon Oct 17, 2016 12:06 pm
Forum: Bug reports
Topic: PIC24FV32KA304 and INT0 --> BUG !!!!!
Replies: 11
Views: 13783

Re: PIC24FV32KA304 and INT0 --> BUG !!!!!

Hello Benj, I´m not so deep inside C++ like you. But when I take all facts together I would like to explain it in that way: The problem is not the int0. In my trials I noticed, that he wouldn`t start sometimes. The problem of extern counting into tmr4 is not timer4. If one of these extern signals co...
by Jörg Güldner
Sun Oct 16, 2016 10:08 am
Forum: Bug reports
Topic: PIC24FV32KA304 and INT0 --> BUG !!!!!
Replies: 11
Views: 13783

PIC24FV32KA304 and INT0 --> BUG !!!!!

Hello Benj, now I have a other problem with the extern interrupt 0. After several hours I found out why. Here happens the same problem like counting extern clock signals into timer 4, I posted before. In the attached program a led will be toggled in the main loop. Clocking extern int0 toggles a seco...
by Jörg Güldner
Tue Oct 11, 2016 5:15 pm
Forum: Bug reports
Topic: Uart Component Receive (PIC24FV32KA304)
Replies: 1
Views: 5879

Uart Component Receive (PIC24FV32KA304)

Hello Matrix team! If you open the interrupt box and choose uart-rx-int1 and send datas in a loop to channel1, this will not works. The receive rxd int is indexed with "0" and "1" and the uart channels with "1" and "2". In the datasheet, from the cpu I use, is the rxd interrupt described as "1" and ...
by Jörg Güldner
Wed Oct 05, 2016 6:32 am
Forum: Bug reports
Topic: PIC24FV32KA304 Seemed to be 3 founded bugs
Replies: 3
Views: 6519

Re: PIC24FV32KA304 Seemed to be 3 founded bugs

Hello Benj, with I2C is very difficult. Yesterday I´ve only 1 hour time to built back my software. What happens during buliding back is, that if I write to SPI the I2C is dead. When I disable writing to SPI, I2C is running. Can it happens that the SPI-component changes the routing way of the I2C. Pi...
by Jörg Güldner
Mon Oct 03, 2016 7:43 pm
Forum: Bug reports
Topic: PIC24FV32KA304 Seemed to be 3 founded bugs
Replies: 3
Views: 6519

PIC24FV32KA304 Seemed to be 3 founded bugs

Hello Benj, my topic was already written to https://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=18079 but now I found now a third point, who is not running. Below are all 3 points described again: CPU = PIC24FV32KA304 1.) Sometimes a additional signal on the port! External clock signals are coun...
by Jörg Güldner
Wed Sep 14, 2016 9:12 am
Forum: Flowcode V6
Topic: PIC24FV32KA304 Uart is twice speed
Replies: 7
Views: 7508

Re: PIC24FV32KA304 Uart is twice speed

Hello Benj, to your latest answere and my post before: 1.) using an interrupt-box with timer x and external signals is not running. You must additional write in a c-box the command to change from analog to digital. My idea was to implementate this c-line into your software from the interrupt-box. Wh...
by Jörg Güldner
Sun Sep 11, 2016 12:26 pm
Forum: Flowcode V6
Topic: PIC24FV32KA304 Uart is twice speed
Replies: 7
Views: 7508

Re: PIC24FV32KA304 Uart is twice speed

Hello Benj, I found in the moment 2 more points for this controller. 01.) Setting an interrupt for timer4 with external clock is not working --> you must change this port-pin from analog to digital, then it`s running. Can you implementated this in your interrupt-box? 02.) External clock signals are ...
by Jörg Güldner
Fri Sep 09, 2016 9:11 am
Forum: Flowcode V6
Topic: PIC24FV32KA304 Uart is twice speed
Replies: 7
Views: 7508

Re: PIC24FV32KA304 Uart is twice speed

Hello Benj, I`ve baught FC7 already, but will wait for manual activation with the update coming out next week. With this controller is just a project running. In the past I get in a bigger project one of the I2C channels not running and wrote and own software part. Afterwords I read in the forum, th...
by Jörg Güldner
Thu Sep 08, 2016 3:53 pm
Forum: Flowcode V6
Topic: PIC24FV32KA304 Uart is twice speed
Replies: 7
Views: 7508

Re: PIC24FV32KA304 Uart is twice speed

Hello Benj,
baudrate is now OK. Well done.
Can you put the file in FC7 update, which appears next week?


Best regards
Jörg
by Jörg Güldner
Mon Sep 05, 2016 6:32 pm
Forum: Flowcode V6
Topic: PIC24FV32KA304 Uart is twice speed
Replies: 7
Views: 7508

PIC24FV32KA304 Uart is twice speed

Hi MM,
the baudrate is twice speed I setup in the program. 9600 baud is for 1 bit on the oscilloscope 52us instead 104us.
Is there a setup mistake or a bug? My little program is attached.
The pic is connected to a external quarz on the primary oscillator.


Thanks in Advanced

Jörg
by Jörg Güldner
Sun Apr 10, 2016 5:59 pm
Forum: Bug reports
Topic: Flowcode V6.1.2 PIC24FV32KA304 I2C not working
Replies: 7
Views: 10629

Re: Flowcode V6.1.2 PIC24FV32KA304 I2C not working

Hello! I noticed already, to send only 1 byte is not working. The set with start, byte ,restart,byte...., stop is running. I tested this on a PIC24FV16KA301. If you switch over from channel1 to software, the pins b8,b9 are not working. Why? I altough replace my own software I2C in my project on pin ...
by Jörg Güldner
Wed Mar 23, 2016 7:31 pm
Forum: Bug reports
Topic: Flowcode V6.1.2 PIC24FV32KA304 I2C not working
Replies: 7
Views: 10629

Re: Flowcode V6.1.2 PIC24FV32KA304 I2C not working

Hello LeighM, this is what I´m missing. In the attached filename, you can see the controller I used for test. Status is, that it`s not running in my case. In the PDF is the hardware shown with pullups and I2C connected to the dedicated pins. The little programm toogles a bit to see, if the cpu is wo...
by Jörg Güldner
Wed Mar 09, 2016 5:09 pm
Forum: General Programming
Topic: strings/char converting --> uart problem
Replies: 1
Views: 6064

strings/char converting --> uart problem

Hi, I`ve some questions to sending different datas over the uart: 01.) integer (0x41) = tostring$(65) --> how can I managed to get a "A" in the string? How is the way to go back("A" --> 65)? 02.) I send a string "hello" and additional a char(13). In the receiver I use the receive string component wi...
by Jörg Güldner
Fri Mar 04, 2016 8:12 pm
Forum: Bug reports
Topic: Flowcode V6.1.2 PIC24FV32KA304 I2C not working
Replies: 7
Views: 10629

Re: Flowcode V6.1.2 PIC24FV32KA304 I2C not working

Hello LIghtM, to write to fram is a "0", read a "1". May be that by all my trials this was changed. But the importand point is, that there are no signals coming out from the I2C engine. The software I2C is although not running on the pins b8/b9. My project must be ready in the last days and so I wro...
by Jörg Güldner
Tue Feb 23, 2016 1:12 pm
Forum: Feature requests
Topic: I2C changing of the delay routine
Replies: 2
Views: 6099

Re: I2C changing of the delay routine

Hello Benj,
thanks for the info. I will test it with the fram on the board.
Can you please have a look to the article with I2C and PIC24FV32KA304, who is not running.
It`s a very importend project and I´m working on it for 3 days and have no ideas anymore.

Jörg