Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ Creator & Designer Forum Discussions

Anonymous
Not applicable

Hello everyone,

                      how to interface  i2c  with psoc board by using verilog... anyone please give me idea about this.

0 Likes
1 Solution
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There are in PSoC5 I2C master and slave components made with UDBs. You can use that as a starting point.

Bob

0 Likes
Anonymous
Not applicable

iam trying to implement tristate buffer in verilog by instantiating cy_bufoe . when i debugging the program i can't obtain the output.

topdesign

Capture.PNG

verilogcode

`include "cypress.v"

//`#end` -- edit above this line, do not edit this line

// Generated on 02/27/2018 at 00:38

// Component: component02

module component02 (

output  sdaout,

inout   out1,

input   en,

input   in1

);

//`#start body` -- edit after this line, do not edit this line

cy_bufoe buf_bidi (

.x(1'b1), // (input) Value to send out

.oe(1'b1), // (input) Output Enable

.y(out1), // (inout) Connect to the bidirectional pin

.yfb(sdaout));

//`#end` -- edit above this line, do not edit this line

endmodule

//`#start footer` -- edit after this line, do not edit this line

//`#end` -- edit above this line, do not edit this line

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

iam also tried with component (buffoe) .but i can't obtain output

topdesign

Capture.PNG

anyone please help me what is the reason for this..

0 Likes