Hello,
Right we've had a few reports of delays and other peripherals not quite acting correctly on the PIC32 hardware.
I have purchased a range of chips and have been playing with the various reports.
If we could try and get all the problems covered here in this topic then hopefully we can get them all fixed and working.
Ok so I have started with the MX range of chips.
Here are my config settings and performing a 1 second flasher program I get 1 second delays.
Firstly here is a new UART CAL which fixes the baud rate problem for the MX family when using a divide by 1 peripheral clock divisor.
At the moment I am investigating the timer interrupts as there are reports that these are currently generating incorrect frequencies.
PIC32 Bit Timings and Peripheral Issues
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
PIC32 Bit Timings and Peripheral Issues
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC32 Bit Timings and Peripheral Issues
Ok with the attached updated definitions all of the timer interrupt frequency issues should now be resolved in the MX family.
Simply extract the attached archive into your "Flowcode 7/FCD/PIC32" folder and restart Flowcode.
I'm investigating other features now such as the I2C, PWM and SPI clock rates but if you're aware of another PIC32 issue then please let me know and I will investigate for you.
Edit: PWM looks ok on hardware using the latest definition files though the simulation of the duty looks wrong.
This latest PWM component should fix the simulation duty issue.
Simply extract the attached archive into your "Flowcode 7/FCD/PIC32" folder and restart Flowcode.
I'm investigating other features now such as the I2C, PWM and SPI clock rates but if you're aware of another PIC32 issue then please let me know and I will investigate for you.
Edit: PWM looks ok on hardware using the latest definition files though the simulation of the duty looks wrong.
This latest PWM component should fix the simulation duty issue.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel