Page 1 of 1

Missing bit definitions

PostPosted: Sat Jun 30, 2018 9:22 pm
by JimDrew
Just a heads up for CH programmers. ALL of the .inc files are missing ALL of the IPCx bit definitions! I was trying to set an interrupt priority for CCP1 and kept getting an assembler error "undefined". I went and checked the includes and all of the CH parts are missing the defines for IPC0, 1, 2, etc. On all other PICs, these defines are located between the IECx and INTCONx bit definitions. I am manually making the changes. Sent a report to my friends at Microchip.

Re: Missing bit definitions

PostPosted: Sun Jul 08, 2018 8:59 pm
by JimDrew
Just an update to this... Microchip is aware of the missing bit definitions (there are a bunch besides the IPCx registers) and this is being added to the list of additions for the next version of XC16.

Microchip has released several of the FRM sections pertaining to the new dsPIC33CH series. Many people are starting to get these working. Microchip still has not yet released the code example that is flashed into the dsPIC33CH Curiosity board, so if you experiment you can't go back (yet).