Menu

9 data bits in serial comms GCB

EA7-JFV
2022-02-13
2022-02-21
  • EA7-JFV

    EA7-JFV - 2022-02-13

    Hi, I'm trying a serial communications with 1 start bit and 9 data bits. It's for an project to implement an mp3 reader on a early 2000's Ford radio, it's the Ford "ACP" protocol (replacing optional CD changer with an mp3 player)

    But Great Cow Basic only works with 7 or 8 data bits..., and I need 9 data bits

    Any idea?

    Thanks very much!

     
    • Anobium

      Anobium - 2022-02-13

      This is not a Great Cow BASIC constrain. Pick a chip with USART with 9 Bit Async, and then write your routines.

       
      • EA7-JFV

        EA7-JFV - 2022-02-21

        Hello, thank you Anobium very much for your note, although I do not fully understand how I can do it but I will continue studying the datasheet, the micro would be an AtMega 328P, and this micro can transmit with 5, 6, 7, 8 or 9 databits, it seems that everything consists of putting in the r17 register of the micro the ninth bit, but I'm still not sure how to do it. I keep watching Thank you very much for your help!

         
  • Chris Roper

    Chris Roper - 2022-02-13

    I can't help with the 9 Bit Data or the "ACP" protocol but faced with a similar problem trying to interface mp3 to an older model Mercedes Benz I settled on a $15 Bluetooth Handsfree Kit With FM Transmitter - It fits in the Cigar Lighter and talks to the FM Radio.
    It can take USB memory sticks, SD Cards, AUX Audio in via cable, acts as a handsfree Kit to any cell phone and of course is seen as Bluetooth speaker arrangement for any MP3 player.

    I didn't get the satisfaction of building it but it did save me from Ripping out the CD Changer and tampering with the cars electrics or Command Bus.

    As I already had a USB Charger plugged in to the cigar lighter socket anyway it took up no extra space but added a lot of functionality.

    Cheers
    Chris

    p.s. If you do manage to get it working with "ACP" protocol though, please publish the project.

     

    Last edit: Chris Roper 2022-02-13
    • EA7-JFV

      EA7-JFV - 2022-02-21

      Thank you very much Chris, it is a help to take in mind, I know the type of interface you suggest, but I will continue to try using the Ford ACP bus. In any case thank you very very very much

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.