- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I previously asked this thread about the CAN sample.
This sample code is for Full mode.
●Is there a sample code for basic mode?
I want to use 17 nodes and monitor the status of 16 other nodes with one node.
Therefore, I want to change the ID on each node programmatically.
I would like to confirm that my understanding is correct,
●In Full mode, the sending side assigns a fixed ID to eight mailboxes and sends the data.
The receiving side specifies IDs for 16 RX mailboxes, the specified IDs are filtered from the data on the CAN bus and placed in the mailboxes.
Is this understanding correct?
Best Regards
Hayato
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hata_3396041,
Yes, your understanding is correct. You can use the basic transmit mailbox to dynamically change the TX ID in run time.
Please use PSoC Creator to view the Code example for the same.
Open PSoC Creator. File -> Code Example. Choose 4200 M in the device family.
CAN_Full_P4_Example has Basic Transmit Mailbox and Full Receive mailbox
CAN_Basic_P4_Example has Full Transmit Mailbox and Basic Receive mailbox
Hope this helps!
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hata_3396041,
Yes, your understanding is correct. You can use the basic transmit mailbox to dynamically change the TX ID in run time.
Please use PSoC Creator to view the Code example for the same.
Open PSoC Creator. File -> Code Example. Choose 4200 M in the device family.
CAN_Full_P4_Example has Basic Transmit Mailbox and Full Receive mailbox
CAN_Basic_P4_Example has Full Transmit Mailbox and Basic Receive mailbox
Hope this helps!
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bragadeesh-san
Thank you for your reply!
It was very helpful for me!
Best Regards
Hayato