Hi there,

Did anyone already make a "blinker" for 16F18446? Mine won't work at all

This device supports PPS (Peripheral Pin Select Module) and I this is new to me. Is there any captcha here?

I also don't get the oscillator configuration. This device appearently uses PLL as oscillator. But how do I configure it to have kind of 4 or 8 MHz internal oscillator?

The DS is (again) hard to understand....


Code:
'====== FUSES =====================================================================================
' PIC 16F18446

#CONFIG
    __config _CONFIG1, _FEXTOSC_HS & _RSTOSC_EXT1X & _CLKOUTEN_OFF & _CSWEN_OFF & _FCMEN_OFF
    __config _CONFIG2, _MCLRE_OFF & _PWRTS_PWRT_64 & _LPBOREN_OFF & _BOREN_SBOREN & _BORV_LO & _ZCDDIS_OFF & _PPS1WAY_OFF & _STVREN_OFF
    __config _CONFIG3, _WDTCPS_WDTCPS_31 & _WDTE_SWDTEN & _WDTCWS_WDTCWS_7 & _WDTCCS_LFINTOSC
    __config _CONFIG4, _BBSIZE_BB512 & _BBEN_OFF & _SAFEN_OFF & _WRTAPP_OFF & _WRTB_OFF & _WRTC_OFF & _WRTD_OFF & _WRTSAF_OFF & _LVP_OFF
    __config _CONFIG5, _CP_OFF
#ENDCONFIG


' ====== DEFINES ===================================================================================
DEFINE OSC 4

' ====== TEST PROGRAM ==============================================================================
TEST:

    LATB.6 = 1
    pause 500
    LATB.6 = 0
    pause 500

GOTO TEST
END