1 Reply Latest reply on Feb 6, 2016 9:46 AM by user_1377889

    32 bit access to DFB staging and holding registers

    MagnusLundin

      The DFB component uses 3x8 bit reads/writes to access the staging and holding registers in

         

      void DFB_1_LoadInputValue(uint8 channel, int32 sample)    and

         

      void DFB_1_GetOutputValue(uint8 channel, int32 sample)

         

      Is there a reason for this ? I tested using 32 bit access like 

         

      *(  (reg32 *) DFB_1_DFB__STAGEA) = inputvalue ;

         

      int32 outputvalue = *(  (reg32 *) DFB_1_DFB__HOLDA) ;

         

      This does indeed return correct values from the DFB.