Search found 10 matches

by mbristol78
Tue 2024-02-27 17:11
Forum: Simulation
Topic: waveform source controllable
Replies: 6
Views: 271

Re: waveform source controllable

Thank you, looks like it can do what I'd like indeed. I'll try something similar in my design in the next few days.
Thanks again for your help.
by mbristol78
Tue 2024-02-27 14:25
Forum: Simulation
Topic: waveform source controllable
Replies: 6
Views: 271

Re: waveform source controllable

Hi, I see, ok, thank you for your time.
by mbristol78
Tue 2024-02-27 12:42
Forum: Simulation
Topic: waveform source controllable
Replies: 6
Views: 271

Re: waveform source controllable

Hello, Thanks for your answers, although each of the solutions you propose is "cutting" the source from its load, but still, the source runs from the beginning of the simulation. I would like to "start" the source at any point with a trigger. As an example, the attached photo pic...
by mbristol78
Tue 2024-02-27 9:46
Forum: Simulation
Topic: waveform source controllable
Replies: 6
Views: 271

waveform source controllable

Is there a way, or a component, a source, to generate a waveform at a desired time during the simulation. The pulse/waveform component can do what I want, but it outputs as soon as the simulation starts. I have a mcu to sample that wave, it needs to start, then give a signal to start the wave. How c...
by mbristol78
Fri 2024-01-26 22:20
Forum: Simulation
Topic: PIC18F27J53 and a I2C EEPROM M24128B
Replies: 10
Views: 2282

Re: PIC18F27J53 and a I2C EEPROM M24128B

Hello, I have hacked the xc8.xml and I can build using xc8-cc.exe. Roughly, I have deleted some lines and passed all my compiler and linker flags in the CMDLINE. There is probably a cleaner way to do it, having option lines etc. but I just wanted to see quickly if that would work. The little drawbac...
by mbristol78
Fri 2024-01-26 8:47
Forum: Simulation
Topic: PIC18F27J53 and a I2C EEPROM M24128B
Replies: 10
Views: 2282

Re: PIC18F27J53 and a I2C EEPROM M24128B

oh I see, well done to find that out. Indeed as I was struggling I was starting from scratch and forgot to set the configuration bits. Maybe that should be another thread but I'll ask here, Proteus seems to use xc8.exe whereas MPLAB uses xc8-cc.exe The Proteus gets overwritten every time (is there a...
by mbristol78
Thu 2024-01-25 18:06
Forum: Simulation
Topic: PIC18F27J53 and a I2C EEPROM M24128B
Replies: 10
Views: 2282

Re: PIC18F27J53 and a I2C EEPROM M24128B

Thank you, I can see it running with your changes.
I will have to dig into the microchip lib as my code has to be multiplatform, but that is not a problem for now.
Thanks again, that should unblock me nicely!
by mbristol78
Thu 2024-01-25 17:49
Forum: Simulation
Topic: PIC18F27J53 and a I2C EEPROM M24128B
Replies: 10
Views: 2282

Re: PIC18F27J53 and a I2C EEPROM M24128B

Hello, thanks for your reply.
I cannot see any changes in your last attached project, the code is missing. Would you be able to send or attach again?
Thanks
by mbristol78
Tue 2024-01-23 15:30
Forum: Simulation
Topic: PIC18F27J53 and a I2C EEPROM M24128B
Replies: 10
Views: 2282

PIC18F27J53 and a I2C EEPROM M24128B

Hi, I have trouble interfacing a PIC18F27J53 and an I2C EEPROM M24128B. In the attached pic_eeprom.pdsprj The oscilloscope shows that the PIC seems to send good data on its I2C module. But I have a few bugs/questions: 1 - In the code, eeprom_M24128.c line 93, if I dereference and use u8_data, passed...
by mbristol78
Fri 2024-01-12 13:32
Forum: Simulation
Topic: Can VSM PIC18 talk UART to Windows COMs
Replies: 1
Views: 447

Can VSM PIC18 talk UART to Windows COMs

Hello, I have asked the support to confirm the following can be done but they don't answer me. I am thinking of purchasing VSM for PIC18 but I'd like confirmation before: My application has a PIC18, talking UART to a Windows 11 app. I have a 3rd party COM bridge app, COM1 bridged to COM2, my Windows...