How it can be done? In a single write by firmware or DMA.
/* Style Definitions */
mso-padding-alt:0in 5.4pt 0in 5.4pt;
Use data register writes shown on page 13/14. PRTx_DR is register name.
what do you mean? use API for output?
I was interested in remapping physically missing GPIO's to different pins.
If I look at the Port Adaper Block in TRM does not look
like one can map a pin to another pin.
maybe, it's possible to connect two pins by analog bus, if it's not used elsewhere in the design?
I think this could be possible by using a control register (which uses an UDB internally). That way the pin status is held in a register, and the bits can be mapped to every pin.
Indeed, this may work. but not the control register (for some unknown reason it's broken in two parts, so it's two registers), A0, may be (it seems that it's can be written by the firmware directly and routed out by PO).
well, and how can I route out parallel output from datapath? datapath configuration tool doesn't generate something for parallel output.
or it does?
Datapath has a pi (partallel input) and a po (parallel output) which you have to connect to module-IOs.
The datapath editor does not care for these signals, but as you can see in the generated verilog-file the signals are there.
Bob, please tell me, where can I find PI/PO signals in attached file? may be, I picking wrong .v file?
danaaknight, step-by-step: I want to output 8 bit by a single write. so, I doing it by writing a value to datapath's A0 register. say, ASRC is always A0 for this datapath. I expect a given value to be available on the PO for this moment, so I can connect PO to digital output pins, populated as I want to. where things go wrong?
When you start the Datapath config tool and Edit -> New Datapath -> cy_psoc3_dp and then save you'll get what you want.
See attatched project