Live record on elektron sequencer problem

Is it an impossible thing to want have my prophet 6 connected to the digitone so i can use one of the midi tracks on digitone to sequence the p6, but i also want to live record that sequence with the p6 keyboard… , if connect them with midi cables or usb via a daw i just get midi feedback and both synhts totally crashes…

is there anyway to solve that? or is it only possible to play in the sequence for the p6 on the digitone buttons?