4 Replies Latest reply on Aug 23, 2020 7:25 PM by MiRe_4638356

    UDB Editor Datapath FIFO transfers


      I have managed to write to a Datapath in a UDB (D0 and D1 I have confirmed are being updated). I presume that it is working when I write a 24 bit block to F0 (or F1) - given that they are 4-bytes deep using command:


      CY_SET_REG32(LEDA_Datapath_u0__F0_REG, 0UL);


      (I'll move that to the component code once it's all working)


      What I don't quite follow is how I shift the data out of F1 (or F0)?


      From F1 should I do something like:




      If so, I am a little lost as to how I extract a bit at a time into Output 4... do I just load up each byte after all 8 bits have been extracted?


      This does not appear to be operating as I expected.


      I my case I want to use 24 bits for each message out so can manage to repeat three times if necessary (rather than widening my Datapath to 24 bits).