It seems that the LUT component is not working either. Instead of a sine wave, it produces a random output. An up-down counter produces a triangular signal at the output of the PWM.
Can you post a simple project file that demonstrates this issue and we will investigate.
Since the last update (PIC_CAL_SPI.c), the compiler crashes with an error message.
What error message are you getting, again can you provide a project file and the .msg.txt file that is generated so we can investigate.
The compiler ran once without errors. After updating cal_spi.fcpx, the compiler crashes with an error message. The current project only has interrupt pins, interrupt IOC, MIDI, and digital inputs and outputs. Remapping the MIDI component only offers port C. According to the data sheet, the component can be mapped to all port pins. I will prepare a small project and post it.
I wish everyone a happy new year.
regards
Bambledrive-18F05Q41-V1.0.c:4576:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4576:18: error: (182) illegal conversion between types
int -> volatile union S1713
Bambledrive-18F05Q41-V1.0.c:4594:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4594:18: error: (182) illegal conversion between types
int -> volatile union S1713
Bambledrive-18F05Q41-V1.0.c:4616:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4616:18: error: (182) illegal conversion between types
int -> volatile union S1713
Bambledrive-18F05Q41-V1.0.c:4634:15: error: (255) not a member of the struct/union ""
Bambledrive-18F05Q41-V1.0.c:4634:18: error: (182) illegal conversion between types
int -> volatile union S1713
(908) exit status = 1
Error returned from [xc8.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet
Hi Dirk.
it looks like you have not attached requested .fcfx project file.
If what you posted is not the full msg.txt file then you will need to attach that as well.