PIC24HJ

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time

PIC24HJ

Post by volodymyr0604 »

Please tell me why I can not activate the I/O ports in PIС24, simulation runs. Unconnected_Port
//** Device: PIC16.24H.24HJ64GP502
//** Generated by: Flowcode v7.1.1.0
//** Date: Friday, December 23, 2016 11:55:52
//** Users: 1
//** Registered to: volodymyr0604
//** Licence key: 4C3QV6
//************************************************************************************

#define MX_PIC16
#define MX_CAL_PIC16
#define MX_CLK_SPEED 32000000
#define FCP_NULL Unconnected_Port - ????????????

#include <xc.h>
#include <math.h>
#include <stdlib.h>
#include "p24Hxxxx.h"
//Configuration Start
_FBS(65535);
_FSS(65535);
_FGS(65535);
_FOSCSEL(65535);
_FOSC(65307);
_FWDT(65407);
_FPOR(65535);
_FICD(65503);
//Configuration End

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times

Re: PIC24HJ

Post by QMESAR »

Please post you FC flowchart the configuration parameters does not tell much

volodymyr0604
Posts: 47
Joined: Sun Apr 05, 2009 2:39 pm
Been thanked: 1 time

Re: PIC24HJ

Post by volodymyr0604 »

I did check programa I2С, as it should be through the initialization, the derivation and reading through I2С,
CPU findings do not react, but the simulation is working properly, try different options,
it seems that there is no initialization of the CPU input / output ports.
Thank you.

Post Reply