wes3 opened a new pull request, #3222:
URL: https://github.com/apache/mynewt-core/pull/3222

   Adds 1MHz i2c speed to the i2c hal. The 1MHz speed requires high speed mode 
on the chip. In order for this to work it appears that the RESTART_EN bit has 
to be set in the control register or a tx abort condition occurs (bit 8 in tx 
abort source reg).
   
   I tried to find some decent documentation on enabling high-speed mode for 
the da1469x. I also looked at some SDK versions that I had and I did not see 
that this bit was being set. When I tried simply setting the speed to 1MHz I 
was seeing this abort condition and read the chip doc and it appears that the 
RESTART_EN bit needs to be set for high-speed mode to work. Tested it with a 
da1469x equivalent chip and another chip that works with 1MHz i2c and things 
seem ok.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to