controling F-RAM using uart

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

cross mob
lock attach
Attachments are accessible only for community members.
EyLa_1625036
Level 3
Level 3
10 likes given 10 sign-ins 25 replies posted

hello all , 

   

i am very new to psoc ,

   

i have a psoc 4 device which is connected to an F-RAM (FM24V10-G) via i2c ,

   

the psoc 4 device is also connected to a pc via uart (see attached file) ,

   

i want to be able to read / write to the F-RAM using an hyperterminal (without bridge Control Panel) ,

   

ex to write to teraterm / putty :

   

W 08 FF (write to address 08 in the fram the data FF) 

   

R 08 (read the data stored in address 08 and display it in the terminal ) 

   

can you direct me to some example code / tips how can this be done?

   

Thanks lampel

0 Likes
2 Replies
EyLa_1625036
Level 3
Level 3
10 likes given 10 sign-ins 25 replies posted

   

0 Likes
lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

elampel,

   

Attached is UART project, showing how to receive incoming strings and separate them into tokens. In the project, PSoC executes simple commands received from PC, like R255 (set red LED brithness to 255), etc. You still need to add I2C communication PSoC<->FRAM, for that please check File->Project Examples provided with Creator. 

0 Likes