cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor II

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
Reply
2 Replies
New Contributor II

   

0 Likes
Reply
Honored Contributor II

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
Reply