petros047
Joined: 02 Mar 2017 Posts: 1
|
SPI between MEGA1284 and TPIC8101 *** Locked - off topic |
Posted: Thu Mar 02, 2017 4:24 am |
|
|
+++++++++++++
New thread created by Forum Moderator.
Locked.
Reason: AVR Bascom is off topic on the CCS compiler forum.
Use AVR Bascom forum:
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59
- Forum Moderator
+++++++++++++
Sorry who I post to this thread and I dont create new but I have exactly the same problem with tpic8101.
The difference is that I use bascom avr.
I do the same like the code in this thread.
http://www.ccsinfo.com/forum/viewtopic.php?t=23951
But no luck.
I see that pcm add a comment that int/hold need 1000us and 1500us delay.
But I dont understand when i have to add this delay.
I do this:
Code: |
drive low int/hold
waitus 1
drive low cs
send command
drive high cs
waitus1 |
after finish I drive the int/hold high. |
|