Login  Register

Re: mbed LPC1768 project

Posted by Ziq on Feb 03, 2016; 7:28am
URL: http://bluesaab-forum.90.s1.nabble.com/mbed-LPC1768-project-tp111p182.html

Only flickering I've seen is for a few seconds after ignition is turned off. Had a bit of flickering before I implemented CAN filters to speed things up.

I'm sending a 0x348 (SID audio text control) in response to every 0x348 I get.

Since I have a NAV unit original 0x348 always says nothing should be displayed so I simply override this.

Then, with every 0x368 that grants the display I simply send my text in 0x328.

I guess you will have a 0x328 coming from the IHU as well, and the big question is if you are able to override it quick enough not to have any flickering. (I'd try responding 0x328 instead of 0x368).

At the moment polling seems to fast enough for me, but if you have the possibility to use interrupts that would be the best way to get fast enough responses. Since you have an external circuit I'm not sure how that would be implemented.

My metadata retrieval from the RN52 needs some work though, pretty sure I'm not reading it fast enough at the moment and missing input.
Saab 9-5 2005 Nav
Building my own project based on mbed LPC1768 + RN52